Article Directory
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
click apply
Click on Programs and Features
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)
The author uninstalls the first one first, click Yes
After uninstalling the second one, click Yes
2. Delete the JDK environment variable
After the uninstallation is complete, we need to delete the environment variables as well.
open file explorer
Right click on this computer ------> select properties
Find and select Advanced System Settings
Click on Environment Variables
Select the JAVA_HOME environment variable we configured , and then click Delete
Click Path----> Delete the JDK8 environment variable we set
After deleting, as shown in the figure below, click OK
click OK
click OK
3. Verify that the JDK is uninstalled successfully
Open cmd (or Windows+R key to open the run window, enter cmd)
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:
OK! ! ! JDK8 uninstalled successfully!