August 29, 2009

Java Problems on Snow Leopard

UPDATE Need to say that I have completed a clean install of Snow Leopard and Java 1.6 seems to be working fine for my previous issues, but still think the post would be helpful in getting Java 1.5 installed if needed.


I heard earlier via twitter that some have had trouble with the ColdFusion 8 Installer on Appleā€™s latest version of OS X, Snow Leopard. I also ran into some issues with the Juniper Odyssey wireless access client which was related to this. Below is the Java 1.5 version from Leopard for use on Snow Leopard. First grab the download here. Then, in terminal:

cd /tmp  
cp ~/Downloads/java.1.5.0-leopard.tar.gz .  
tar -xvzf java.1.5.0-leopard.tar.gz  

Now lets move the extracted 1.5.0 folder to the system Java location:

sudo mv 1.5.0 /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard  

Now when Snow Leopard installed it made a symbolic link for 1.5.0 pointing to the 1.6 version, we need to clean this up:

cd /System/Library/Frameworks/JavaVM.framework/Versions/  
sudo mv 1.5.0 1.5.0-original  
sudo ln -s 1.5.0-leopard 1.5.0  

At this point you should be able to go into your Java Preferences located at /Applications/Utilities/Java Preferences and drag the J2SE 5.0 entry above the Java SE 6 entry in the Java Applications sections.

OpenBD Admin

After arranging the order correctly the ColdFusion 8 installer should run fine.

OpenBD Admin

If you'd like to follow me, I tweet @burnsra on Twitter. You're also welcome to send a polite email to contact@robertburns.me. I don't always get the chance to respond, but email is always the best way to get in touch.

Comments on this site are currently an experiment.

comments powered by Disqus