Page 1 of 1
Java 1.5 on MacOS X
Posted: Wed Apr 20, 2005 2:26 am
by ScottEllsworth
Howdy, all.
Tiger brings a 1.5 VM that may offer better graphics performance.
What do we need to do to make oXygen use this 1.5 VM? Setting the version flag in info.plist alone does not work, as it reports that the VM version is not correct.
Scott
Posted: Wed Apr 20, 2005 11:45 am
by sorin_ristache
Hi,
Juts install Tiger, then install <oXygen/> and run it. <oXygen/> will use the Apple's Java VM installed on your system in the standard location /System/Library/Frameworks/JavaVM.framework/ so if this contains a Java 1.5 VM this will be used without any change to info.plist.
Best Regards,
Sorin
not working
Posted: Fri May 20, 2005 9:14 am
by rajsingh
This isn't working. I still end up running 1.4 somehow. I have the same problem with Eclipse and can't wait to solve this.
Posted: Fri May 20, 2005 6:38 pm
by dnedrow
If you want to use 1.5 for everything (applets and CLI), be sure that you've set the Applet and Application settings in the Java Preferences tool provided with Apple's J2SE 5 package (/Applications/Utilities/Java/J2SE 5.0).
Note that this won't make any difference at the command line, so you'll also need to manually change the CurrentJDK symlink as shown below:
Code: Select all
dnedrow$ pwd
/System/Library/Frameworks/JavaVM.framework/Versions
dnedrow$ sudo rm CurrentJDK
dnedrow$ sudo ln -s 1.5.0 CurrentJDK
dnedrow$ java -version
java version "1.5.0_02"
-David