June 5, 2025
Frequently asked questions
For your convenience, we've also compiled answers to the most common questions about uninstalling Java on Mac - from version-specific steps to resetting settings and clearing the Java cache. We hope these quick tips help you clarify the process and save Christmas.
Is there any difference in uninstalling Java depending on the versions?
Yes, there are slight differences:
- For Oracle Java 7 and later (including JDKs):
- Typically installed in /Library/Java/JavaVirtualMachines/
- Can be uninstalled by deleting the specific JDK folder via Terminal:
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-<version>.jdk
Copy
- Using the installer (some recent JDKs):
Example uninstaller path:
/Library/Java/JavaVirtualMachines/jdk-<version>.jdk/Contents/Home/Uninstall.tool
Copy
Version differences also impact file paths and naming.
P.S.: A tool like App Cleaner & Uninstaller can remove all versions regardless of source.
Where is the Java Control Panel on my Mac?
- Go to Apple menu → System Settings.
- Scroll down and look for Java.
- Click to open the Java Control Panel.
How do I reset Java on my Mac?
To reset Java settings:
- Open the Java Control Panel.
- Under the General tab, click the Setting button → click Restore Defaults.
- Optionally, click the Delete Files button to clear the Java cache and temporary files.
To do a total reset of Java:
- Launch App Cleaner & Uninstaller.
- Locate Java from the Applications list → control-click on it.
- Select the Reset Application from the dropdown list → confirm.
How do I clear the Java cache on my Mac?
- Open the Java Control Panel. For this, open System Settings → scroll down and look for Java → click to open the Java Control Panel.
- In the Java Control Panel, click on Settings under Temporary Internet Files.
- Click on the Delete Files button on the Temporary Internet Files window.
- This will open the Delete Files and Applications window.
- Click OK to confirm the deletion.
How do I disable Java on my Mac?
If you mean disabling Java in your browser, here’s how to do it:
- Open System Settings → scroll down the left panel → look for Java and click on it.
- Navigate to the Security tab.
- Deselect the check box for Enable launching Java Web Start applications from the browser.
😊 Was this article helpful?