From The Blog

Installing the JDK 1.6 on Mac OS X

UPDATE 11/12/09: I’ve updated the post with links to download SoyLatte 1.0.3. UPDATE 6/16/09: I ran Software Update on my Mac last night and it...

UPDATE 11/12/09: I’ve updated the post with links to download SoyLatte 1.0.3.

UPDATE 6/16/09: I ran Software Update on my Mac last night and it appears that Apple has released an update to Java. I’m now rocking 1.6 natively. Update today.

UPDATE: due to folks running into trouble with this post I’ve created a much more detailed video for installing the JDK 1.6 on the Mac.

In my last post, Create and Deploy a JRuby app to the GlassFish gem in 10 minutes or less on Mac OS X, I mentioned using the JDK 1.6 (a.k.a. SoyLatte) to get the performance benefits from JRuby 1.1 RC2. Installing it is a snap, no compiling necessary. Here is what to do:

  • Download SoyLatte 1.0.3 for Mac OS X 10.4 and 10.5.
  • Unzip the package and put the entire directory where you want it
  • Optional: rename the folder to soylatte16-1.0.3
  • Add the soylatte16-1.0.3/bin path to your $PATH variable to use soylatte rather than the JDK 1.5 that comes installed
  • Fire up a terminal session and type “java -version

If everything worked out, you should see something similar to:

java version "1.6.0_03-p3"
Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_03_feb_2008_02_12-b00)
Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_03_feb_2008_02_12-b00, mixed mode)

Enjoy the performance!

Keep up with everything going on with Atlantic Dominion Solutions by subscribing to our monthly newsletter.

Other Posts That Might Interest You

  1. Installing Java, Groovy, Grails, and Netbeans in VMWare for Groovy Development
  2. Soylatte Download for the JDK 1.6 on Mac Install Tutorial
  3. Installing the JDK 1.6 on Mac OS X The Video

Tags: