How to remove Java on Mac OS X

In recent times Java is facing a major security problem, there are many vulnerabilities in this tool. Hackers can steal important information. So to ensure information security and security, you should remove Java from the web browser on your computer.

Java which is a free open source support for software as well as web browser applications. However, in recent times Java is having a big security problem, there are many vulnerabilities in this tool. Hackers can steal important information. So to ensure information security and security, you should remove Java from the web browser on your computer. If you're new to Mac OS X or don't know how to uninstall Java on Mac OS X , refer to the article below.

Remove Java Runtime

Open the Terminal window then enter the following 2 commands, after each command press Enter to make Mac OS X perform. Note you will have to enter the password to confirm authorization.

sudo rm -fr / Library / Internet Plug-Ins / JavaAppletPlugin.plugin

sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane

Picture 1 of How to remove Java on Mac OS X

Once you are done, you can check your Java Mac OS X removal by opening the System Preferences window. On the System Preferences window you will see the Java icon has disappeared.

See also: How to turn off Java to improve security

Remove Java JDK

Removing the Java development kit (JDK) is more difficult than removing Java Runtime , you must use other commands and transfer the Java developers and libraries to the correct directory.

First open a Terminal window and enter the command line below to move the developers and Java libraries to the correct directory.

cd / Library / Java / JavaVirtualMachines

To see the list, you use the "ls" command.

sudo rm -rf jdk1

Next, press the TAB key to finish, the result will be displayed like the image below.

Picture 2 of How to remove Java on Mac OS X

So you've removed the Java JDK on your Mac OS X.

Check again to make sure Java has been removed

To verify that the Java uninstallation on Mac OS X is correct, open the Terminal window and enter the command: Java , you will see a message that there is no Java in the operating system and requires installation.

Picture 3 of How to remove Java on Mac OS X

Good luck!

Update 25 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile