The number of times I see someone post "Here's how to use J2SE5.0 as default on Mac OSX 10.4..." and proceed to tell you how to change the JDK symlink for the current JDK....
It's not necessary.... Here's how I do it. Add to your .profile
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
export PATH=$JAVA_HOME/bin:$PATH
There we go. JDK set. If you want to set it for webstart and applets as the default, go to /Applications/Utilities/J2SE 5.0 and run Java Preferences, which lets you change the order of use safely (and lets you get at a whole bunch of run time settings)....
There, no messing with sudo, no changing symlinks, no danger when Apple update Java runtimes.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment