Skip to content

Instantly share code, notes, and snippets.

@rickosborne
Created August 12, 2013 18:10
Show Gist options
  • Save rickosborne/6213415 to your computer and use it in GitHub Desktop.
Save rickosborne/6213415 to your computer and use it in GitHub Desktop.
The semi-officially-sanctioned instructions from Apple on how to revert to Java 6.
#!/bin/sh
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment