Java 1.6 On Mac - 32 bit vs 64 bit

Last edited on

Java 1.6 on Macintosh's Leopard is 64 bit only

Apple says for 32 bit Java on Leopard Java 1.5 must be used.

Because Squish for Java on Mac is only available as a 32 bit build with default binary packages, the only options are to use Java 1.5 or to upgrade to Snow Leopard.

Typical logfile:

...
 Debug: Qt Debug: starting java:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -XstartOnFirstThread Calculator -d32
Cannot run Java in 32 bit mode. Continuing in 64 bit mode.
_NSJVMLoadLibrary: NSAddLibrary failed for /System/Library/Frameworks/JavaVM.framework/Versions/1.6./Home/../Libraries/lib/Applications/squish-20091111-java-maci386/lib/libjvm.dylib

To verify that Java 1.6 is 64 bit only, execute the following command in the console (and paste the complete output to support)

file /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java