How To Uninstall Java on Mac
Due to java issues on mac lots of Mac users want to remove java development kit on mac from their computers. Because its cover lots of space on computer. Currently there are lots of alternatives available for computer which not failed to create the java virtual machine. So now its time to remove java.
Remove Java Run Time
Open Terminal on your Mac
Paste these two command lines in terminal that enough to stop Java on your Mac. You may promoted for the administration password.
sudo rm -fr /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane
Removing Java JDK 8 and JDK 7 from Mac
Java Development Kit its bit differ from Java Runtime but its necessary to run Java programs on mac. Which means after removing Java Runtime you’ve to remove Java JDK from mac. Because may be its complete installed on your computer and occupying large space.
To check its there is Java JDK installed on your computer or not.
Paste the given command line in terminal to change the current folder to check if there was Java Virtual Machine installed or not.
Now then enter this command line (Is) at the prompt to see if there is anything or not. If you’ve found there was Java JDK incomplete installation files then remove them using this command line.
sudo rm -rf jdk1
After enter the above command line press Tab key from keyboard to make a process complete.
Check To Make Sure Java Is Remove From Mac
After remove both Java Runtime and Java Development Kit from mac you’ve to may sure the Java is complete gone from your Mac. However you’ve already notice by opening System Preference the Java icon is gone.
But there is also one other way to conform Java uninstalled from mac. Open up Terminal and type “Java” you see a message just like that “No Java runtime present, requesting install” which you’ve to install Java on Mac.