back home

Re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality

May 7, 2014

I just notice that my browser (chrome on mac) is 32-bit and can’t run Java Runtime

and after I checked to Java official website, it’s telling me:

Hmm.. That’s was not cool, because for a best-known and auto-update browser like chrome can’t run Java Runtime? Srsly??

There is a way to let chrome can run the Java. The way is re-enable Apple-provided Java ver.6

1. Open Terminal and create a ‘disable’ folder

$ sudo mkdir -p /Library/Internet Plug-Ins/disabled 

2. Move current Java Applet Plugin

sudo mv /Library/Internet Plug-Ins/JavaAppletPlugin.plugin /Library/Internet Plug-Ins/disabled

3. Copy JavaAppletPlugin from bundle

sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI.plugin /Library/Internet Plug-Ins/JavaAppletPlugin.plugin 

4. Re-enable Java SE 6

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