Re-enable Java 6

Command Line System ConfigIf you are running Mac OS X 10.8 and have installed Java 7, as well as the latest Java Update from Apple (Java 2013-002) and have found that some things don’t work with Java 7, and you wish to change back to having version 6 as your default Java installation, then you can download the script – Enable_Java6.sh from the link below

Enable_Java6.sh

Extract the file, copy it to the desktop

Open Terminal & type the following

cd ~/Desktop
sudo ./Enable_Java6.sh

this script only takes a second to run, once its complete, go to this website to check the version of Java that you have enabled

http://javatester.org/version.html

for information on what the lines in this script do, check out the Apple support page below

http://support.apple.com/kb/ht5559

If you wish to undo this and switch back to Java 7 then you can enter the following into Terminal

sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws /usr/bin/javaws

Then you can download and install the latest Java Runtime from the following link

http://www.java.com/en/download/mac_download.jsp?locale=en