In web browsers, Java is a source of security flaws that allowed any attacker with knowledge to be able to execute code without our consent in our system. For this reason, the sites that use these applets are becoming less, we can save ourselves from having it macOS safer.

In this article, we will look at a way how to completely remove Java on your Mac.

Please note that if you use some web applications that require Java tools such as Cisco and many others, they may not work correctly or the application will inform you that you need to reinstall Java Tool Kit. Do not worry, you can always restore the work of Java if it becomes vital to you. Now move on to the deletion.

Read more: How to Uninstall Xcode?

Uninstall Java from Mac

Alas, Java tools do not have a launcher with the “Uninstall Java” button, and to completely remove the program you will need to tinker with the Terminal. Delete one directory and one file (symbolic link) by following these steps:

  • Launch the Terminal;
  • In the terminal window, perform Copy and Paste strings for the following commands in turn:
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin 
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane 
sudo rm -fr ~/Library/Application\ Support/Oracle/Java

Conclusion

You should not try to remove Java from Mac by removing Java tools from the /usr/ bin directory. By its significance, this folder is part of the system software, so any changes will be undone during the next OS update. For the correct removal, use the instructions described above and nothing else.

It’s the best time to ask questions and give us your feedback in comments.

Author

Hi there! My Name is Vincent Lago! My goal is to share insightful reviews, guides, and manuals for people looking to know more about current solutions for Apple hardware and OS. I have years of technological background knowledge including owning a custom iMacs & PCs which was using for different types of business. And now, I want to share my experience with you.

Write A Comment