Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
erradicate java on a Mac
sudo rm -rf \
/Library/Application\ Support/Oracle \
/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin \
/Library/Java \
/Library/PreferencePanes/JavaControlPanel.prefPane \
/Library/Preferences/com.oracle.java.Helper-Tool.plist
rm -fr \
~/Library/Application\ Support/Java \
~/Library/Application\ Support/Oracle \
~/Library/Caches/com.oracle.java.Java-Updater \
~/Library/Caches/net.java.openjdk.cmd \
~/Library/Caches/Oracle.MacJREInstaller \
~/Library/Preferences/com.oracle.java*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment