How to Uninstall Java on Mac

How to Uninstall Java on Mac.

The have to have Java put in in your Mac is unnecessary, to say the least.

Why could you ask? Because it’s not required for many of the functions on the machine. Besides, if any functions do want it, we will set up it then at any time when we’re requested.

However, the difficulty with Java is that it comes preinstalled (with out permission), and it’s no simple job the place you may hit an “Uninstall” button identical to each different utility to take away it. 

Now keep in mind that some functions, particularly functions which might be Java-dependent like IDEs, office suite functions like OpenOffice or LibreOffice, torrent shoppers, and more, will depend on Java to work.

Once you’ve eliminated Java in your Mac, these functions gained’t work anymore.

In this information, we are going to present you the way to uninstall Java fully out of your Mac. 

Let’s start!

How to Unistall Java on Mac

  1. First, ensure that there aren’t any apps working within the background. Specifically, be sure that functions which makes use of Java are closed.
  2. After that, entry the Finder in your Mac. You can press Command + Space in your keyboard and search for “Finder” on Spotlight Search.
  3. Now, click on on Go and choose the Go to Folder possibility. Copy the trail beneath:

/Library/Internet Plug-ins/

  1. Inside the folder, find JavaAppletPlugin.plugin and delete it.
Uninstall Java on MacUninstall Java on Mac
  1. Once carried out, return to the Go to Folder possibility and duplicate the trail beneath:

/Library/PreferencePanes/

  1. Find the JavaControlPanel.prefPane file and delete it.
  2. Lastly, go to the trail beneath and delete the Java folder.

~/Library/Application Support/Java/

Once carried out, restart your Mac, and Java needs to be fully eliminated out of your system.

Use Your Mac’s Command-Line

Take word that you just have to be cautious when getting into the code beneath into your Command-Line as mistyping a syntax corresponding to ‘rm’ with superuser privileges may cause an entire lot of undesirable hassle. 

Here are the steps:

  1. First, open your Finder and go to Utilities > Terminal.
  1. Now one after the other fastidiously enter the next strains individually within the Terminal:

sudo rm -rf "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin"

sudo rm -rf "/Library/PreferencePanes/JavaControlPanel.prefPane"

sudo rm -rf "~/Library/Application Support/Java"

  1. Lastly, anticipate the method to finish.

After working the command, Java needs to be fully uninstalled out of your Mac. As we’ve talked about at first, should you have been ever to come across issues along with your functions that use Java, you don’t have any different selection however to reinstall Java.

Fortunately, most functions on macOS don’t require Java, and therefore the strategies above will assist you to take away it out of your Mac.

We hope that this information has helped uninstall Java in your Mac. If you may have questions, be happy to depart a remark beneath, and we are going to love that will help you out.

If this information helped you, please share it. 🙂

  • Jake KovoorJake Kovoor

    Jake is the Editor-in-Chief of Saint and an unbiased software program developer, with a Bachelors in Computer Science from Lancaster University, UK. He loves making an attempt out numerous tech from the Flipper Zero to coding Raspberry Pis for automation. He began Saint back in 2016, having written over 100 posts, with the only objective of making guides for software program that had but to exist back then to assist customers navigate round their technical issues.

    View all posts



Check out more article on – How-To tutorial and latest highlights on – Technical News, Apple Products