Home >Java >javaTutorial >How to completely uninstall java

How to completely uninstall java

青灯夜游
青灯夜游Original
2019-05-17 15:33:409227browse

How to completely uninstall java

How to completely uninstall Java:

Step 1: Delete the previously configured environment variables and rewrite them If it's too troublesome, you can copy it to notepad and save it, and then just copy and paste it.

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. Kill them all, or you can only kill the Java files under Oracle and Sun; for example: if it is installed on the C drive by default, check whether there are related folders under C:\Program Files or C:\Program Files (x86);

And these:

How to completely uninstall java

How to completely uninstall java

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

How to completely uninstall java

After opening the registry, search for HKEY_CURRENT_USER\Software\JavaSoft, ( If there is one) delete the JavaSoft folder; and HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft, delete the JavaSoft folder

How to completely uninstall java

Step 5: Restart the computer (whether necessary Restart the computer, I have not tested it, I just restarted it as a precaution).

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