[Java] Install JAVA environment under Windows 64-bit system

 

Original: https://www.cnblogs.com/fklin/p/6670760.html

File name: jdk-7u51-windows-x64

Download the JDK installation file for Windows 64-bit platform.

Green package download address: https://www.cnblogs.com/for-easy-fast/p/12300535.html

installation

1. Double-click to open the downloaded file, and click "Next" to start the installation.

2. ① All functions are installed by default, and no adjustments are made.

    ②The default installation path, no adjustment

3. Click "Next" and wait until the installation is complete.

4. Install JRE, the default path is not adjusted.

5. Click "Next" and wait for the installation to complete.

6. To complete the installation, click "Close" to end the entire installation process.

 

Configuration

 1. Click on the "Advanced" tab in the "Computer" properties, and then click on "Environmental Variables"

2. Create a new system variable,

①Add JAVA_HOME, the value is the path of the JDK installation just now

②Set Path, add %JAVA_HOME%\bin at the end, and note that when adding, add a semicolon in front to separate it.

 

test

 After the installation and configuration are complete, open the command prompt and enter javac in it to see if there is a screenshot like the following. If the following JDK compiler information appears, the installation and configuration are successful.

 

Guess you like

Origin blog.csdn.net/bandaoyu/article/details/113398682