Leopard (OS X 10.5) was the first version of OS X to make the Java 6 (1,6) JRE available through an update. Unfortunately, only the 64-bit version of Java 6 JRE is available for Leopard, so only those with 64-bit Intel processors can run Java 1.6.
Since Core 2 Duo, all available Intel Mac 64-bit capable. If you have a Core Duo-based Mac Mac (note the missing 2), your computer does not support the 64-bit version. An example of this is the first MacBook (Pro) and the first Mac mini. Your particular computer is 32-bit, so you wonβt get Java 6 with Leopard, and of course you donβt have it with Tiger (10.4).
Snow Leopard (OS X 10.6) comes with Java 6 out of the box. Thus, if you get a new Mac with Snow Leopard or upgrade to Snow Leopard, it includes both 32-bit and 64-bit versions of Java 6. If you upgrade your 32-bit Intel Mac to Snow Leopard, you will get Java 6 (32-bit).
For those Intel Mac owners who do not want to upgrade to Snow Leopard, or who cannot upgrade (Snow Leopard requires 1 GB of RAM), you can install SoyLatte for Java 6.
SoyLatte ( http://landonf.bikemonkey.org/static/soylatte/ ) is obtained from the FreeBSD Java 6 JRE port and runs on Mac. SoyLatte is only for Intel-based Macs and includes only a 32-bit JRE.
Just download and extract SoyLatte, set JAVA_HOME and PATH and run your program. Here's a sample:
$ export JAVA_HOME=/Users/madams/Desktop/soylatte16-i386-1.0.3 $ export PATH=/Users/madams/Desktop/soylatte16-i386-1.0.3/bin:$PATH $ java -jar /Users/madams/Desktop/test.jar
Also note that Snow Leopard only includes Java 6 and automatically removes old JREs. This means that Java 1.5 is no longer available, although the paths for previous versions are related to the current one.
In addition, Java 6 in Snow Leopard is used by default for the 64-bit JRE on 64-bit Mac computers, so if you invoke 32-bit native libraries (JNIs), this will not work. You must invoke java using the -d32 command line option to run the 32-bit version of the Java JRE on a 64-bit Mac with Snow Leopard.
Marcus adams
source share