jdk installation and configuration
- Download jdk (I am jdk15, 2019/09/19)
Click on the link to enter and slide to the bottom of the page, click on the
tick to download - Install jdk
change the storage location of jdk, and wait for the installation, after a while, the installation is complete - Configure jdk to
open "This Computer", and find "This Computer" on the left side of the window, right click -> Properties
on the left side of the window to find "Advanced System Settings" and click to enter
Click "Environment Variables"
(1) Add a variable JAVA_HOME to the system variables , The variable value is the path where you installed jdk
! [37](https://img-blog.csdnimg.cn/20200919192554860.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9FxmN0Z
in the system Add %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin to the Path of the variable
(3) Add the variable PATHCLASS in the system variables, the variable value is %JAVA_HOME%\bin;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
Then press "OK" for all the windows just opened
- Check if the jdk is installed successfully
Win+R enters the dos window
as shown in the figure, it is successful!