java -version
1.6
or 1.7
in the response, navigate to the /System/Library/Java/JavaVirtualMachines/ directory and delete it. Alternatively, use the command line:sudo rm -rf /System/Library/Java/JavaVirtualMachines/
sudo rm
command.)chrome://plugins
in the address bar and click the link to disable Java. In Safari, go to Safari > Preferences and uncheck Enable Java in the Security pane. In Firefox go to Tools > Add Ons > Plugins and uncheck Java Plug-In.