Home > Java > javaTutorial > body text

How to install java tutorial win10

coldplay.xixi
Release: 2020-08-11 13:42:00
Original
2496 people have browsed it

Java installation win10 tutorial: first download the JDK; then configure the user variables and system variables; then configure the system variable path and add the path value to the path; finally test whether it is successful.

How to install java tutorial win10

java installation tutorial win10

1. Download JDK

If you do not modify the installation path, Keep clicking Next and install it

How to install java tutorial win10

Related learning recommendations: java basic tutorial

2. Configuration Environment variables

1. User variables

Create a new user variable, the variable name is: JAVA_HOME, the variable value is; C:\Program Files\Java\jdk1.8.0_131, that is JDK installation path

How to install java tutorial win10

2. System variables

Create a new system variable, the variable name is: JAVA_HOME, the variable value is: C :\Program Files\Java\jdk1.8.0_131, which is the path of JDK installation

How to install java tutorial win10

3. Configure the system variable path and add the path value to path

In the head of the system variable path, add

%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
Copy after login

or in the tail of the path, add

%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
Copy after login

. In fact, pay attention to the difference with the previous one. The delimiter;, pay attention to the half-width semicolon

How to install java tutorial win10

4. Test whether it is successful

win r or directly enter cmd, Enter the command line

Enter: javac, Java, etc. to test

How to install java tutorial win10

##Related recommendations:

Programming video course

The above is the detailed content of How to install java tutorial win10. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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