Skip to content

Instantly share code, notes, and snippets.

@akkidas
Created March 27, 2016 02:12
Show Gist options
  • Save akkidas/516be47ce8591a15e7f9 to your computer and use it in GitHub Desktop.
Save akkidas/516be47ce8591a15e7f9 to your computer and use it in GitHub Desktop.
Uninstall JRE from Mac OSX
Remove one directory and one file (a symlink)
1. Navigate to /Library/Internet Plug-Ins and remove the JavaAppletPlugin.plugin directory.
2. Navigate to /Library/PreferencePanes and remove JavaControlPanel.prefpane.
Do not attempt to uninstall Java by removing the Java tools from /usr/bin.
This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment