|
Re: Setting default Java: msg#01532java-dev
On Jul 30, 2009, at 8:14 AM, James Rome wrote: I used the Java preferences app in Applications/Utilities to change Java to 1.6. Don't worry about /Library/Java/Home, it's only there for backwards compatibility with really old apps. Set your $JAVA_HOME to the output of /usr/libexec/java_home instead. It tracks the setting in Java Preferences.app, which is set for your user, unlike symlinks on disk that have to be modified by root, and affect every user. If you need something to put in your .bashrc file, try this: export JAVA_HOME=`/usr/libexec/java_home` Cheers, Mike Swingler Java Runtime Engineer Apple Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (Java-dev@xxxxxxxxxxxxxxx) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/maillists%40codeha.us This email sent to maillists@xxxxxxxxx
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |