Home  >  Article  >  Java  >  Win10 system installation and configuration jdk1.8

Win10 system installation and configuration jdk1.8

王林
王林forward
2020-01-19 17:20:552478browse

Win10 system installation and configuration jdk1.8

1. First download jdk from the official website, and create the installation directories of jdk and jre on your own computer. This article is in:

D:\Tools\MyJava\ JDK8\jdk, D:\Tools\MyJava\JDK8\jre, directory, select the path to install by default.

2. Right-click "My Computer" -> Select "Properties", open the page and find "Advanced System Settings" and click in.

Win10 system installation and configuration jdk1.8

3. Click "Environment Variables" and create a new JAVA_HOME in the system environment variable. The variable value is the root path of your jdk installation

(Online learning video Tutorial recommendation: java video tutorial)

Win10 system installation and configuration jdk1.8

4. Then, create a new CLASSPATH environment variable

Win10 system installation and configuration jdk1.8

5. Finally, find the original PATH path and add %JAVA_HOME%\bin and %JAVA_HOME%\jre\bin, as shown in the figure:

Win10 system installation and configuration jdk1.8

After the above configuration is completed , click Confirm. It just depends on the configuration.

6. After opening cmd, enter java -version, as follows:

Win10 system installation and configuration jdk1.8

Recommended related articles and tutorials: java introductory tutorial

The above is the detailed content of Win10 system installation and configuration jdk1.8. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete