How to uninstall Java on Mac

March 20, 2025
Asya Karapetyan
Written by
Asya Karapetyan
info
A content marketer with 10+ years of experience specializing in macOS, focused on creating guides for Mac cleanup and optimization.
A content marketer with 10+ years of experience specializing in macOS, focused on creating guides for Mac cleanup and optimization.
Vladyslav Zubkov
Approved by
Vladyslav Zubkov
info
The content has been reviewed and approved by our team member, an Apple Certified Support Professional, who provides technical support to Nektony’s users.
The content has been reviewed and approved by our team member, an Apple Certified Support Professional, who provides technical support to Nektony’s users.

Java is a plug-in that extends the functionality of web browsers. Its installation is quite simple. However, subsequent removal of the software without proper knowledge can cause problems.

In this article, we will tell you about three methods on how to uninstall Java from Mac correctly and safely.

Contents:

  1. What is Java and why remove it?
  2. How to manually uninstall Java
  3. How to delete Java using Terminal
  4. How to uninstall Java using App Cleaner & Uninstaller

Before we start

If you don’t have time to read this article and just want a quick solution, use App Cleaner & Uninstaller from Nektony. This uninstaller will safely and completely delete Java with just two simple clicks.
App Cleaner Uninstaller icon

App Cleaner & Uninstaller

Free Download

Video Guide


What is Java and why remove it?

Java is a programming language and software platform that allows developers to create software that runs across different operating systems without modifications. It is widely employed in web services, enterprise applications as well as some desktop software.

Although Java is widely used, you might consider disabling it. Here are some common reasons to uninstall Java from your Mac:

  • Security risks. Java has a long history of security flaws, which makes it a potential target for cyberattacks and malware.
  • Performance issues. Java processes may consume system resources, which can result in slower Mac performance.
  • Not required. The majority of modern applications don’t require Java.
  • Potential compatibility issues. Certain macOS software or updates could interfere with older version of Java.

Removing 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 Settings. Java in Mac System Settings

How to uninstall Java using its installation file:

  1. Run the Java installation file. By default, it should be located in the Downloads folder.
  2. If you can’t find it on your disk, you can download it from the official developer’s website.
  3. Click on the package file.
  4. Enter your user password to continue.
    Java installation window
    Popup requiring permission to continue with Java
  5. In the next window, click the Remove button.
  6. In a few seconds, the software will be removed from your computer. You will see a message about its successful removal.Java update window
  7. Open Finder and press the Cmd+Shft+G shortcut.
  8. In the search panel, type /Library and hit Return.
  9. Check each of the file paths below for Java-related files. If you find any, drag them to the Trash.
    • /Library/Application Support/Oracle
    • /Library/Java/
    • /Library/Internet Plug-ins/
    • /Library/PreferencePanes
  10. Empty the Trash.

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

How to remove Java from System Settings

  1. Open System Settings. You can find it in the Apple menu or in Launchpad.
  2. Scroll down the right panel to locate the Java icon.
  3. Right-click on the icon.
  4. Click Remove Java settings pane.
  5. Removing Java settings pane
  6. Open Finder and go to the Applications folder.
  7. In the Finder’s search field type Java and press Return.
  8. Find the JavaAppletPlugin.plugin file and remove it into the Trash.

Now Java is completely uninstalled from your machine.


How to delete Java using Terminal command line

Another way for Java removal is to use a special command in Terminal. Terminal is a default macOS 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 Return:

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

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

Terminal command to remove Java

Java will be removed from your computer.


Uninstall Java on Mac – Easy Way

Another way to quickly and safely uninstall Java from a Mac is to use App Cleaner & Uninstaller.

This tool 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. Here’s how to use the app:

  1. Launch App Cleaner & Uninstaller.
  2. Click Extensions in the left panel.
  3. Select the Preference Panes section.
  4. Select Java.
  5. Click the Remove button.
  6. 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. The uninstaller software allows yo to remove any versions of Java from your system.



1 thought on “How to uninstall Java on Mac”

  1. Great goods from you, man. I’ve take note your stuff prior to and you are just extremely fantastic. I really like what you have received right here, really like what you are saying and the way by which you assert it. You are making it enjoyable and you continue to take care of to stay it wise. I can not wait to learn far more from you.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top