Need to get back to Java 1.3.1 from 1.4.1

dannyka

Registered
Hi all,

I'm pretty new to OS X (heck, I'm new to the Mac, period), and I need some help.

I installed OS X, then updated to all the latest (10.2.4, Java plug-in 1.41, etc.). The problem is that I need to go back to 1.3.1.

Is there any way to either delete 1.4.1, disable 1.4.1 and/or choose 1.3.1, anything like that? I downloaded the 1.3.1 plug-in but OS X won't let me install it.

The reason I need to do this is that I have an applet that I'm trying to get running on my Mac. It was developed on and runs fine on my win xp system using 1.3.1. I was just wondering if there was an issue with my applet and 1.4.1.

Thanks for any help,
Dan
 
Open a Terminal window and paste this into it;

cd /System/Library/Frameworks/JavaVM.framework/Versions
rm CurrentJDK
ln -s 1.3.1 CurrentJDK

This will revert your Java back to version 1.3.1.

To see what version is running, paste this into a Terminal window;

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK

To go back to version 1.4.1;

cd /System/Library/Frameworks/JavaVM.framework/Versions
rm CurrentJDK
ln -s 1.4.1 CurrentJDK
 
Originally posted by bobw
Open a Terminal window and paste this into it;

cd /System/Library/Frameworks/JavaVM.framework/Versions
rm CurrentJDK
ln -s 1.3.1 CurrentJDK

This will revert your Java back to version 1.3.1.

To see what version is running, paste this into a Terminal window;

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK

To go back to version 1.4.1;

cd /System/Library/Frameworks/JavaVM.framework/Versions
rm CurrentJDK
ln -s 1.4.1 CurrentJDK

I was on the Java seed list for a while and there was a lot of discussion about doing this. Most people ended up re-installing X to get back to a pure 1.3.1. It was something about the seed versions of Java writing/installing to 'more' places than they should have etc...

Not sure if 1.4.1 has been released, if so maybe it installs a little cleaner and your uninstall script has done the trick, if not danyka's app's problems may still be related to 1.4.1
 
Well, this is interesting.

I ran Bob's commands, then IE. The Java Console reported 1.3.1 as expected.

I then downloaded Safari, installed it and tried the applet again. This time the Java Console reported 1.4.1. Hmmm... I closed Safari, went to IE and what do you know -- 1.3.1.

Apparently Safari doesn't get its Java from the same place IE does. What controls this?

Dan
 
I use Safari and it doesn't change to 1.4.1 on my system. Revert back to 1.3.1 then open Safari and see what version is running.
 
If copying Bobs info into a terminal window, Re-installing OS X is an option huh? Would an archive-install be ok so as to preserve all my files? or would that not get you back to straight Java 1.3.1?

Thanks
Adam
 
Installing Java 1.4.1 doesn't delete version 1.3.1., it's still on your system, but after installing 1.4.1, it's no longer used. Use the Terminal command if you want to revert back to version 1.3.1.
 
cd /System/Library/Frameworks/JavaVM.framework/Versions
rm CurrentJDK
ln -s 1.3.1 CurrentJDK

bobw,
I typed this into my terminal (the third line, rm CurrentJDK) and it says permission denied. Any suggestions?
 
Back
Top