Serge Savenko
Product manager, who enjoys sharing his Mac experience
06/02/2021
12 minutes to read

java icon
Java is a plug-in that extends the functionality of web browsers. Java installation is quite simple. However, subsequent removal of Java without proper knowledge can cause problems. Today we will tell you about three methods on how to correctly and safely uninstall Java from Mac.

Contents:

  1. How to manually uninstall Java from Mac.
  2. How to uninstall Java using the Terminal command line.
  3. The quickest way to uninstall Java from Mac.

Remove Java from Mac Manually

Java is not a standard application, so it does not appear either in the Launchpad or in the Applications folders. The only place where you can see it is System Preferences.
System Preferences window showing Java
Now let’s see how to remove Java from your Mac, using its native installation file.

Steps on how to remove Java from Mac using its installation file:

  1. Run the Java installation file. By default, it should be located in the Downloads folder. If you can’t find the Java installation file on your Mac, you can download it from the official developer’s website.
  2. Click on the Java package file and enter your user password to continue.
    Java installation window
    popup requiring permission to continue with Java
  3. In the next window, click the Remove button. In a few seconds Java will be removed from your Mac. You will see a message about its successful removal.Java update window

If for any reason you can’t run the Java installation files or you face an issue when trying to remove Java from your Mac, using the mentioned above steps, don’t worry. You can remove Java right from the System Preferences.

Steps on how to remove Java from Mac using System Preferences:

  1. Open Mac System Preferences. You can find it in the Apple menu or in Launchpad.
  2. Here make a right click on the Java icon.
  3. Click on Remove “Java” Preference Pane.
    System Preferences showing a command to remove Java
  4. Go to the Applications folder and in the Finder’s search field type java and press Enter.
  5. Find the JavaAppletPlugin.plugin file and remove it into the Trash.

Now Java is completely removed from your Mac.


How to uninstall Java using the Terminal command line

Another way for Java removal is to use a special command in Terminal. Terminal is a default Mac application that you can find in the Launchpad or in the Applications folder.

  1. Launch the Terminal application.
  2. Enter the following command and press Enter:

    sudo rm -fr /Library/Inte*rnet\ Plu*g-Ins/JavaAppletPlugin.plugin

  3. Enter the password of your account (the account must have administrator privileges).

Terminal command to remove Java

Java will be removed from your computer.


The quickest and easiest way to uninstall Java from Mac

Now we would like to share the quickest and safest way to uninstall applications and extensions on Mac. For this, you can use App Cleaner & Uninstaller from Nektony. App Cleaner & Uninstaller automatically finds applications and all their service files, as well as different types of extensions, such as plugins, preferences panes, web browser extensions and allows you to uninstall any of them with just a few clicks.

Steps on how to uninstall Java with App Cleaner & Uninstaller:

  1. Launch App Cleaner & Uninstaller.
  2. Go to the Extensions tab → Preference Panes section.
  3. Select Java and click the Remove button.
  4. Confirm the action.

 App Cleaner & Uninstaller showing Java
With App Cleaner & Uninstaller you can find all extensions installed on your Mac and easily remove unneeded ones.

app cleaner icon

App Cleaner & Uninstaller

Uninstall any Mac application in 2 minutes.

Supported systems:
M1, macOS 10.10 +
Languages: flag icon
Update
v. 7.4 March 2021
 

Articles you may be interested in:

Leave a Comment

Your email address will not be published.

Scroll to Top