James' Blog

James’ personal blog

Upgrading JAVA on Mac OS X (to 1.6)

I tried to update JAVA on MacOS X  by using the /Application/Utilities/Java/Java Preferences.app.  It seemed to work, but if you want it to work for root, then you need to run the application as root.  you can do it on the command line as follows:

root#   ./Applications/Utilities/Java/Java Preferences.app/Contents/MacOS/Java Preferences

I’m not sure if it was necssary but I also modified the symlinks also to point to 1.6 instead of 1.5.

ln -s /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK 1.6
you can delete the original symlink if necessary. As a word of warning, I have read that changing symlinks isn’t recommended by apple.

Posted 1 year, 3 months ago at 12:24 pm.

Add a comment