Enable java6 for chrome in osx

Upgrading to 10.8.2 will install java7 and disable java6. Java7 is only 64 bit, chrome is 32 bit.

Fix:

sudo mkdir -p /Library/Internet Plug-Ins/disabled
sudo mv /Library/Internet Plug-Ins/JavaAppletPlugin.plugin /Library/Internet Plug-Ins/disabled
sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI.plugin /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws

NOTE: Enabling java6 might introduce security holes.
Reference: http://support.apple.com/kb/HT5559

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>