WINDK1.7 installation tutorial diagram under Windows

Software description

Although jdk has been released to version 1.8 or even 1.9, 1.7 is the most stable and best version, good user friend They are all strong fans, so don’t worry about the issue of old version, feel free to experience.

Download JDK

How to install jdk1.7

(1) Double-click the jdk installation file , Enter the JDK installation start interface, click “Next”;

Share a picture< /p>

(2) Enter the JDK custom installation interface, keep the default, click “Next”

Share pictures

(3) You can click “Change” to customize the JDK installation path, here select the default path, click “Next”

Share a picture

(4) After the installation is complete, the JDK installation completion interface will pop up, click “Close “Complete the JDK installation

share picture

Configure JDK environment variables

(1) Right-click “Computer” and select “Properties”, enter the computer properties interface, and click “Change Settings”;

Share pictures

(2) Enter the system properties interface, click “Advanced”, enter the system properties- Advanced interface, click “Environment Variables”

Share pictures

(3) Enter the environment variable interface, click “New” under “System Variables”, create a variable named “JAVA_HOME” and a variable value of “C:Program Files (x86)Javajdk1.7.0_75”, click on completion of creation “OK”

(4) Find the variable “Path” in “System Variables”, Click “Edit”, add the variable value “%JAVA_HOME%bin;%JAVA_HOME%jrebin” and click “OK”. After adding this variable value, the system can recognize Java commands in any path

share picture

(5) Continue to click “New” under “System Variables” and create a variable named “CLASSPATH” with a variable value of “.;%JAVA_HOME%libdt.jar;%JAVA_HOME%libtools. “jar” variable, click “OK” after creation;

Share picture

p>

Description: “.” means the current path, “%JAVA_HOME%” refers to the JAVA_HOME specified earlier.

Test whether the JDK is installed successfully

Open the “cmd” command window, type the command “java -version”, and click Enter to display the JDK version information .

share picture

Or type the command “javac -version “, the JDK version information is also displayed,

The JDK installation is successful.

Leave a Comment

Your email address will not be published.