Enterprise IT Note 002-Windows 10 Installation and Configuration of JDK 1.7

1. Download JDK

jdk-7u79-windows-x64.exe

C:\Program Files\Java\jdk1.7.0_79

2. Configure JDK

clip_image001

advanced

clip_image002

Environment variable

clip_image003

New environment variable

JAVA_HOME

C:\Program Files\Java\jdk1.7.0_79

clip_image004

clip_image005

New system environment variable CLASSPATH

Set the CLASSPATH value to: ./;%JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/lib/dt.jar

CLASSPATH: ./;%JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/lib/dt.jar (Note: the dot indicates the current directory and cannot be omitted)

clip_image006

clip_image007

Update system environment variable Path

Add ";%JAVA_HOME%/bin;" (note: the semicolon here cannot be omitted), add it to the front of Path.

clip_image008

clip_image009

clip_image010

clip_image011

3. Testing

clip_image012

The installation is complete.

Guess you like

Origin blog.51cto.com/dynamic/2584058