

My initial execution of jmap on snow leopard failed with the following error message:Īttaching to process ID 3407, please wait. unsetJava reverts the set to the original java version.setJava allows you to type in the name of the version and switches JAVA_HOME and path to this version of the JVM.jvms reads through the version directory and reports what it reads of the file system.The 3 functions are jvms, setJava, unsetJava. I'll add the script to the bottom of this post as a reference. I modified the original script to just include 3 important functions when sourced in. simply delete the java 5 symbolic linksĪs a side note, I use a script for swapping between JVM versions.replace Java 5 using instructions provided at leopard.For those new to this space the Java version live under /System/Library/Frameworks/amework/Versions. Whither you agree with the removal of Java 5 or not, it is unbelievable to me that the Java 5 symbolic links are pointing to the CurrentJDK which points to 1.6. ** I have tested the latest BTrace and it works fine. * I'm still looking for more issues, so if you can add to the list, please add comments, email or twitter. jmap - some aspects of jmap do not functionĪs a consequence, applications that used Java 5 either don't work, or provide a message as shown here from my favorite stock trading application.Java 5 symbolic links are set to Java 6.This post will outline the known issues and will provide fixes for several of them (or provide links where fixes are already explained).
JAVA FOR MAC LEOPARD MAC OSX
There are several issues with Java on the new Mac OSX 10.6 "Snow Leopard". Monday I was faced with a new situation, Snow Leopard OS X 10.6.
JAVA FOR MAC LEOPARD MAC OS X
For quick links the most significant articles are: Java is a 2nd Class Citizen on MAC OSX, Fixing Java Memory Tools on Mac OS X and Java 7 on Mac OS X. Most of that has been on Leopard, OS X 10.5. I have long documented some of the issues and differences for a Java developer on the Mac OS X.
