Uninstall, install JDK

1. Baidu search to download JDK

Insert picture description here

  1. Select the download of the windows64 version

Insert picture description here

3. If you don't have an oracle account, register one, log in if you have one, and you can download
Insert picture description here

  1. If you have already installed it and don’t remember where the JDK is installed, right-click the computer icon on the desktop and select properties

Insert picture description here
5. Find the corresponding jdk directory and delete the folder directly Insert picture description here
. 6. Delete the previous environment variables.
Insert picture description here
Insert picture description here
7. Double-click the JDK just downloaded to the desktop.
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
8. Configure the environment variables.
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
9. Check whether the configuration is successful.
Insert picture description here
10. Here, the JDK configuration is successful.

Guess you like

Origin blog.csdn.net/weixin_45517802/article/details/109169821