How to Uninstall Java from Mac?

by Alice Woods - -


Issue: How to Uninstall Java from Mac?

I am concerned about Java security issues, and I want to remove it from my Mac OS X. However, I found out that it cannot be uninstalled as an ordinary application. Could you tell me how to remove it entirely?

Solved Answer

Java is a software that is designed to play various games, using communication platforms, viewing 3D content, and so on. However, it is also known for being vulnerable and actively exploited by cyber criminals.[1] Thus, if you do not know why this application is needed or do not use it, it’s better to uninstall Java from Mac.

Various browser and programs might need Java in order to run. However, Apple has stopped including it in OS X due to security issues in 2012.[2] Additionally, the majority of users do not find this software useful.

It seems that Java for Mac OS X is needed only if you play Minecraft and Runescape, or use Adobe Illustrator and few other apps.[3] If you are not using them, you should uninstall them to increase your security level.

Indeed, this app cannot be removed by dragging it to the Trash only. You will need to take more steps to delete all Java-related entries from the computer. For that, we prepared two methods at the second part of the article.

Uninstall Java from Mac

Fake Java pop-ups spread malware

Uninstall now! Uninstall now!
To uninstall these files, you have to purchase licensed version of Intego Intego uninstall software.

Cyber criminals often deliver fake alerts to install latest Java updates.[4] However, these pop-ups that might emerge on the screen when you browse the web include malicious content. Thus, instead of update, you might download Trojan, ransomware or at least spyware.

Keep in mind that real and safe updates are available only on the official website or appear in the App Store. Thus, you should download them only from these sources to avoid installation of malware.

If you already clicked on such fake offer and think that your Mac may have been infected with a virus, you should run a full system scan with a reputable security software and check your computer’s state. You can use either Reimage or MacKeeper.

Uninstall Java on Mac OS X

Uninstall now! Uninstall now!
To uninstall these files, you have to purchase licensed version of Intego Intego uninstall software.

Java removal requires having Administrator privileges. Besides, before you start, you should back all your data in order to avoid the loss of important files in case something goes wrong.

Below you can find two methods that allow removing Java from the device. The first method requires deleting files using Finder. It’s an easier and the safer option compared to the second one. The second option requires executing commands using Terminal.

Option 1. Uninstall Java-related entries using Finder

Uninstall now! Uninstall now!
To uninstall these files, you have to purchase licensed version of Intego Intego uninstall software.
  1. Quit all applications that use Java.
  2. Open Finder.
  3. Click Go on the left top corner and choose Go To Folder option.
    Remove Java from Mac using Finder
  4. Enter this path in the appeared box: /Library/Internet Plug-ins/
    Access /Library/Internet Plug-ins/ folder
  5. In the Internet Plug-Ins window, you should find JavaAppletPlugin.plugin entry and delete it by grabbing it and moving to the Trash located on the Dock.
    Delete JavaAppletPlugin.plugin entry
  6. Click Go and click Go To Folder again.
  7. This time, you have to enter /Library/PreferencePanes/ path.
  8. In the folder, you have to find and delete JavaControlPanel.prefPane entry.
  9. One more time click Go -> Go To Folder.
  10. Enter the path ~/Library/Application Support/Java/.
  11. Here delete Java folder.
  12. Empty the Trash.

Option 2. Remove Java using Mac OS command line

Uninstall now! Uninstall now!
To uninstall these files, you have to purchase licensed version of Intego Intego uninstall software.
  1. Open Finder and access Applications folder.
  2. Go to Utilities folder.
  3. Open Terminal.
    Remove Java from Mac using Terminal
  4. In the Terminal windows enter these commands:
    sudo rm -fr /Library/Internet\\ Plug-Ins/JavaAppletPlugin.plugin
    sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
    sudo rm -fr ~/Library/Application\\ Support/Java
  5. When these commands will be executed, Java should be removed from the system.

Get rid of programs with only one click

You can uninstall this program with the help of the step-by-step guide presented to you by experts. To save your time, we have also selected tools that will help you carry out this task automatically. If you are in a hurry or if you feel that you are not experienced enough to uninstall the program by your own, feel free to use these solutions:

do it now!
removal software Happiness
Compatible with Microsoft Windows Compatible with OS X
Run into problems?
If you failed to uninstall the program using , let our support team know about your issues. Make sure you provide as much details as possible. Please, let us know all details that you think we should know about your problem.
- a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats. - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of malware removal tool.

Prevent websites, ISP, and other parties from tracking you

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services like Netflix, BBC, Disney+ and other popular streaming services without limitations, regardless where you are

Recover your lost files quickly

Once you delete a file, it does not vanish into thin air – it remains on your system as long as no new data is written on top of it. Data Recovery Pro is a recovery software that searchers for working copies of deleted files within your hard drive. By using the tool, you can prevent loss of important documents, school work, personal pictures, and other crucial files. 

About the author

Alice Woods
Alice Woods - Shares the knowledge about computer protection

Alice Woods is a security expert who specializes in cyber threat investigation and analysis. Her mission on Ugetfix - to share the knowledge and help users to protect their computers from malicious programs.

Contact Alice Woods
About the company Esolutions


What you can add more about the problem: "How to Uninstall Java from Mac?"