JAVA installation and configuration tutorial

1. Download jdk

Download link: https://pan.baidu.com/s/1Z6SJRcHCsMRMzV-3ole0dg
Extraction code: h42f
insert image description here

Two, install java

1. "Next step".
insert image description here
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".
insert image description here
insert image description here
3. Wait
insert image description here
4. Click "Change" to select the path. Then "Next".
insert image description here
5. Wait for the installation to complete.
insert image description here
6. "Close"
insert image description here

3. Configuration variables

1. Open the "System Properties" of the computer, select "Advanced", and click "Environment Variables".
insert image description here
2. Click "New" system variable.
insert image description here
3. The variable name is "JAVA_HOME", click "Browse Directory" to select the installation path just now.
insert image description here
4. Select the "Path" variable and click "Edit".
insert image description here
5. Click "New", enter "%JAVA_HOME%\bin", and click "OK".
insert image description here

Fourth, check the installation status

"Win+R", enter "java -version", and the following information is displayed, indicating that the installation is successful. Please add a picture description
Congratulations, the installation is complete!

Guess you like

Origin blog.csdn.net/weiybin/article/details/124620394