Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'a better way' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
a better way
Authored by: hayne on Jan 27, '06 12:27:26PM
I've been using the symbolic link approach since the 1.5 release was first available, and I've never had any problems. If there ever are problems, though, I can always switch the symbolic link back. It's really not a big deal
I'm not claiming that changing the symlinks doesn't work. Of course it works.
I'm just saying that you shouldn't do it because there is a better way. The better way is to change the PATH and JAVA_HOME variables to point to the version you want. This is better because it is far less intrusive and more flexible. And it doesn't mess with something that is going to get overwritten with the next update from Apple. It's the right thing to do.
Link please?
Apple's release notes say that you should use the full path to the Java executables to specify which version you want.

And here's a Java-Dev mailing list post from an Apple employee that spells out "the reasons that we recommend developers NOT modify this symlink".

[ Reply to This | # ]