Last active
October 30, 2018 08:28
-
-
Save ShawonAshraf/66ef1284d3aaae0959e03cd116e5d26b to your computer and use it in GitHub Desktop.
Completely removing Oracle JDK, JRE from macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -rf /Library/Java/JavaVirtualMachines/*.jdk | |
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane | |
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin | |
sudo rm -rf /Library/LaunchAgents/com.oracle.java.Java-Updater.plist | |
sudo rm -rf /Library/PrivilegedHelperTools/com.oracle.java.JavaUpdateHelper | |
sudo rm -rf /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist | |
sudo rm -rf /Library/Preferences/com.oracle.java.Helper-Tool.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment