![]() ![]() You’ll get a path to a particular version of java, which is the default version of the JDK for the command line and shell scripts. Apple does things in an unusual – but you might say very elegant – way, if only it was more clearly communicated. ![]() You’ll get a one page description about how the Mac configures the JAVA_HOME environment variable, which is needed by many java applications. After tracking it down, here is what I discovered. ![]() The Applications->Utilities->Java Preferences app allows you to set which JDK you prefer apps to use, but unfortunately this isn’t sufficient as some apps like Tomcat get the JDK via another avenue (/usr/libexec/java). How was it doing that, I wondered? A little investigation revealed the answer, as well as info about how the Mac is configured for Java. Testing the VisualVM behavior, I launched Tomcat 6 in Eclipse, but quickly found that Tomcat was still referencing Java 1.5. Its a nice improvement over prior vm monitoring features in Java 4 & 5. ![]() I recently installed Java 6 on my Mac laptop, which includes VisualVM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |