12996 Views 6 Replies Latest reply: Sep 19, 2009 11:30 AM by TDi
I was able to get Java 1.4.2 working with Safari in Snow Leopard tonight. Here's how to do it.
1. Install Java 1.4.2 as outlined in this link:
Alternatively, extract Java 1.4.2 from the Java For Mac OS X 10.5 Update 4 installation package, and install it in a similar manner:
2. Make sure that Java 1.4.2 is the first 32-bit application in the list. Under Java Preferences, my list reads:
Java SE 6 64-bit
J2SE 1.4.2 32-bit
Java SE 6 32-bit
3. Open Safari in 32-bit mode via the Get Info window for Safari. This is where I was getting screwed up. It finally occurred to me that Java 1.4.2 is a 32-bit application, but if Safari was opening in 64-bit mode, it wouldn't use the 32-bit Java apps.
Once I opened Safari in 32-bit mode, Safari was able to use Java 1.4.2.
Thanks! This solved a problem I was having with MATLAB R2007a, which stopped working after I upgraded to Snow Leopard. Downgrading to Java 1.5.0 as described at http://wiki.oneswarm.org/index.php/OSX_10.6_SnowLeopard fixed me. I was getting errors after attempting certain actions involving new windows and a directory service. Now I'm back in business.