How to remove Java on Mac OS X
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
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.
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.
Good luck!
You should read it
- Basic Java syntax
- What is JAVA file? How to open, edit and convert JAVA files
- eQuiz - Multiple choice quiz about JAVA
- Download and install Java on the computer
- Basic Java exercises, with sample decoding
- Which career Java programming options are waiting for you?
- How to install Java on a Raspberry Pi
- How to fix the error does not install Java
May be interested
- Instructions on how to create a Guest account on a Macwhen creating multiple accounts on a mac, users can secure the data, preventing your data from being looked at by others when using the same computer. however, creating a guest account on mac os x is not as simple and available as on windows. so how to do it?
- Instructions for setting up reading text content on a Macwith a mac, users can completely set the text reading mode, all the text content that the user chooses.
- 11 new features of Snow Leopardin this article we will introduce some of the biggest changes happening to snow leopard so far.
- Introducing Folder Action in Mac OS Xif you often have to perform repetitive tasks in the mac os x operating system directory, you can create scripts to automate those operations.
- Use new Exposé features in Snow Leopardin mac os x 10.5, users can combine the use of exposé's application windows mode and manipulate the command-tab application by activating exposé.
- 5 interesting functions of spacebarin addition to the ability to separate words, the spacebar can perform many more tasks in different environments. here is a list of 5 interesting functions of spacebar on mac os x.