How To Uninstall Java On Mac 2024? Guide To Uninstall Java On Mac

Disclosure: Some of the links on this site are affiliate links, meaning that if you click on one of the links and purchase an item, I may receive a commission. All opinions however are my own.

Main: How to uninstall java on mac

LSI – java runtime environment mac,

java se 6 runtime mac,

how to uninstall java,

java 6 for mac

Administrator privilege is required to uninstall java from Mac.

Steps to uninstall java are:

Step 1.

At first, you have to click on the ‘Finder’ icon on the dock of your Mac.

Step 2.

Then go to the ‘Applications’ tab on the sidebar and click on it.

Step 3.

In the search box type, ‘JavaAppletPlugin.plugin’. You will be shown a JavaAppletPlugin.plugin file.javaappleplugin

Step 4.

When you see the file, right-click on that file to get options. Select the ‘Move to Trash’ option to delete it.

This process deletes java from the Mac but the file still remains in the trash folder. If you want the java file to be deleted from the trash folder too, then you would have to follow few more steps.

Step 1.

Launch the ‘Safari‘ app on your Mac.

Step 2.

Go to ‘Preferences’.

Step 3.

Navigate to the option ‘Security’.

Step 4.

Then ‘Uncheck Enable Java’.

Note: JavaScript and Java are separate from each other, so you can keep the JavaScript Enable. Because sites like Youtube needs JavaScript.

How to Uninstall Oracle Java By Using the Terminal?

Java can be uninstalled by removing the Java Runtime.

Administrator privilege is required to uninstall java from Mac.

Step 1.

At first, you have to click on the ‘Finder’ icon on the dock of your Mac.

Step 2.

Then click on the folder named ‘Utilities’ and open it.

Step 3.

Then make a double click on the ‘Terminal’ icon.

Step 4.

A new Terminal window will open, where you need to type or you can copy-paste the command given below:

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane

Java will be uninstalled after that but if you want to cross-check whether it is deleted then again you have to open the ‘System Preferences’ window. You would not find Java there.

Note: It is advised, not to make any attempt to delete or uninstall Java by removing the tools of Java from the user/bin. This directory is a part of system software. If any change is made to this directory, Apple will reset the changes made the next time whenever an update of OS would be done.

How to Remove JDK?

JDK i.e., Java Development Kit, is basically a software environment that helps in the development of Java apps and applets. By removing this software it will stop the updating of java files.

Step 1.

You have to open a Terminal window at first.

Step 2.

Then copy-paste or type the command given below,

cd /Library/Java/JavaVirtualMachines

Step 3.

After that, use ‘Is’ as the prompt to check if there is something. If there is something, then type or copy-paste the command given below,

sudo rm -rf jdk1

Step 4.

Then using the TAB key help the shell to complete the name of the file.

This is how you will remove the JDK software.

How to Get Java 6 For Mac OS?

To download java 6 follow this,

Step 1.

Click on the ‘Finder’ icon on the dock of your Mac.

Step 2.

Then go to the ‘Applications’ tab on the sidebar and click on it.

Step 3.

Then click on the folder named ‘Utilities’ and open it.

Step 4.

Then make a double click on the ‘Terminal’ icon.

Step 5.

  A Terminal window will open, where you need to type or you can copy-paste the command given below:

sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

This is how you can install java 6 of Apple, after removing java 7 or java 8 of Oracle.

Java 6 does not get updated by any general software update. You need to update to Java 6 by yourself.

If java 6 is present, your Mac OS may use java 5. You need to active java 6. Follow the steps below to active java 6 on your Mac.

Step 1.

Go to the ‘Applications’.

Step 2.

Select ‘Utilities’.

Step 3.

Then go to ‘Java’.

Step 4.

Open ‘Java Preferences’.

Step 5.

A new window will open. There under the General tab, a list of few versions of java will appear. You will see two lists of Java applet versions and java applications versions. For both cases change the order of those versions and place Java SE 6 on the top of the lists.

This way Java 6 can be activated for Mac.

To install java SE 6 runtime Mac, follow up the link:

http://download.info.apple.com/Mac_OS_X/031-03190.20140529.Pp3r4/JavaForOSX2014-001.dmg

Quick Links –

Wrapping Up:- How To Uninstall Java On Mac?

This was the complete guide to “How to uninstall java on mac“. Hope you enjoyed this article. Consider it sharing among your families and friends through social networks.

If you are left with any queries, immediately left a comment below. We would like to hear from you.

Read next, How to Use Task Manager in Mac OS X Computer

Diksha

A graduate of the IIMC, Diksha enjoys testing out new tech products and services. Her goal is to help others make more informed purchases of tech products and services. In her spare time, she enjoys traveling, watching movies, and listening to music. An ardent reader loves to be surrounded by technology. You can follow her on LinkedIn and Instagram

Leave a Comment