Java 1.5 on MacOS X

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ScottEllsworth
Posts: 1
Joined: Wed Apr 20, 2005 2:24 am

Java 1.5 on MacOS X

Post 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
Java and Database development for the life sciences
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
rajsingh
Posts: 2
Joined: Fri May 20, 2005 9:11 am

not working

Post 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.
dnedrow
Posts: 60
Joined: Wed Jan 28, 2004 10:51 pm

Post 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
Post Reply