Insights and outlooks on software development


On setting default Java version in Mac OS X

Monday, April 13, 2009 by Thomas L

I'm sure this is common knowledge for some, but not for me, so I thought I should blog it.

I'm playing around with the Google App Engine Java support, and since GAE/J runs on Java 1.6 it's best to use it on the local machine as well. Since the default Java version on OS X is 1.5, I saw I needed to change it. It's entirely possible to change the default version by re-pointing the symlinks under /System/Library/Frameworks/JavaVM.framework/Versions, but there is a better way. Just open the application Java under /Applications/Utilities/Java, and drag the Java SE 6 to the top.

Java Preferences

Technorati Tags: ,,

Filed under , having  

0 kommentarer: