I have a problem uninstalling Java 8 (MAC)

I have installed Java 1.8.0_20 and I cannot uninstall it. I don't have a Java library in my Library, so any other walkthroughs were useless and every time I switch the preferred order, it just reverts back to normal as soon as I close the Java preferences. I need a terminal command or folder to manually delete it.

+3


source to share


2 answers


Yes, this is because Oracle didn't care if they owned the Mac version (since 1.6). This is described here .



0


source


Try the following terminal commands:



sudo rm -rf /Library/Java/JavaVirtualMachines/jdk<version>.jdk
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

      

0


source







All Articles