Home > Java > Javagetting Started > body text

Win10 system installation and configuration jdk1.8

王林
Release: 2020-01-19 17:20:55
forward
2575 people have browsed it

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template