Wednesday, 30 April 2008

Java for Mac OS X 10.5 Update 1 Adds Support for Java SE 6

But it’s only for 64-bit Intel-based Macs.

More detail here.

3 comments:

Dan said...

Note that this upgrade only works on 64-bit Macs.

For those of us not (yet) fortunate enough to own one, check out these links:

http://landonf.bikemonkey.org/static/soylatte/

http://landonf.bikemonkey.org/code/macosx/MacOS_Java_16_Developer_Preview_1.20071120.html

Dan

Rob said...

Once you've installed this you may notice the default version of java (reported by java -version on the terminal) has not changed. You need to go to Applications -> Utilities -> Java -> Java Preferences and change the "Java Version" radio selection AND drag the "Java Application Runtime Settings" around so that Java 6 is at the top.

Stephen Cresswell said...

If you want to build from the command line I found that grails needs JAVA_HOME set.

I did this with

export JAVA_HOME="/System/Libraries/Frameworks/JavaVM.framework/Versions/1.6/Home