1. Download jdk
Download link: https://pan.baidu.com/s/1Z6SJRcHCsMRMzV-3ole0dg
Extraction code: h42f
Two, install java
1. "Next step".
2. Click "Change" to select the installation path (it is recommended to create two folders in the Java folder, named "jdk1.8.0_144" and "jre1.8.0_144" respectively), and then "Next".
3. Wait
4. Click "Change" to select the path. Then "Next".
5. Wait for the installation to complete.
6. "Close"
3. Configuration variables
1. Open the "System Properties" of the computer, select "Advanced", and click "Environment Variables".
2. Click "New" system variable.
3. The variable name is "JAVA_HOME", click "Browse Directory" to select the installation path just now.
4. Select the "Path" variable and click "Edit".
5. Click "New", enter "%JAVA_HOME%\bin", and click "OK".
Fourth, check the installation status
"Win+R", enter "java -version", and the following information is displayed, indicating that the installation is successful.
Congratulations, the installation is complete!