Home >Java >Javagetting Started >How to completely uninstall Java

How to completely uninstall Java

王林
王林Original
2019-11-12 16:11:366871browse

How to completely uninstall Java

Step 1: Delete the previously configured environment variables. If it is too troublesome to re-write them, you can copy them to Notepad and save them. Then just copy and paste them.

Step 2: Uninstall JavaSE normally, either in the control panel or security software.

Step 3: Delete the Java-related folders in the C drive. When searching, also pay attention to Oracle, Sun and other folders. If only Oracle's Java products are installed on the computer, then Oracle, Sun, etc. will also be installed. Delete them all, or you can delete only the Java files under Oracle and Sun.

Step 4: After deleting the folder, delete the registry. I believe many people know how to open the registry. If not, press win R, enter regedit, and hit Enter. After opening the registry , delete the JavaSoft folder.

Step 5: Restart the computer.

Recommended tutorial: Java tutorial

The above is the detailed content of How to completely uninstall Java. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn