Super detailed Windows 10 uninstall JDK1.8 tutorial

Attached JDK1.8 installation and configuration

Super detailed JDK1.8 installation and configuration

The uninstallation steps of the Windows version of JDK are the same. Learning to uninstall JDK1.8 is equivalent to learning to uninstall other Windows versions of JDK. This article will introduce in detail how to uninstall JDK1.8.

1. Uninstall the JDK application

At the start, click Settings
insert image description here


click apply
insert image description here


Click on Programs and Features
insert image description here


After opening Programs and Features, we will find that there are two Java files, we right-click to uninstall them (in no order, uninstall the first or the second one first)
insert image description here


The author uninstalls the first one first, click Yes
insert image description here


After uninstalling the second one, click Yes
insert image description here


2. Delete the JDK environment variable

After the uninstallation is complete, we need to delete the environment variables as well.

open file explorer
insert image description here


Right click on this computer ------> select properties
insert image description here


Find and select Advanced System Settings
insert image description here


Click on Environment Variables
insert image description here


Select the JAVA_HOME environment variable we configured , and then click Delete
insert image description here


Click Path----> Delete the JDK8 environment variable we set
insert image description here


After deleting, as shown in the figure below, click OK
insert image description here


click OK
insert image description here


click OK
insert image description here


3. Verify that the JDK is uninstalled successfully

Open cmd (or Windows+R key to open the run window, enter cmd)
insert image description here

Enter the command: javac

javac

Enter the command: java

java

Enter the command: java -version

java -version

If it shows that java is not an internal or external command or a runnable program, it means that it has been successfully deleted, as shown in the following figure:
insert image description here

OK! ! ! JDK8 uninstalled successfully!

Guess you like

Origin blog.csdn.net/qq_45344586/article/details/129655404