View Full Version : Java5 on osx as default
04-30-2005, 02:42 AM
I'd like to set Java5 on osx as default...(How) can I do that?
04-30-2005, 02:44 PM
Assuming your using 10.4 ("Tiger"):
1) Go to /Applications/Utilities/Java/J2SE 5.0 and double-click on "Java Preferences". In there, you can move J2SE5.0 to the top of the default application and for use for Applets.
2) If you want to use commands from the Terminal (command line), I set the following environment variables in ~/.bash_profile
Then reload your profile with source ~/.bash_profile
3) Then, from a terminal execute java -version and you should see the following:
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56)
Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.