Home  >  Article  >  Java  >  How to install java in win10 system

How to install java in win10 system

王林
王林Original
2020-06-22 10:23:017821browse

How to install java in win10 system

How to install java in win10 system?

(Recommended tutorial: java introductory program)

The specific steps are as follows:

1. First, enter the official website to download the Java installation package

How to install java in win10 system

2. Then run the installation program

How to install java in win10 system

(Video tutorial recommendation: java video tutorial)

3. Finally configure the environment variables

Configuration steps:

My Computer——> Right-click——> Select Properties and click “Advanced System Settings”

How to install java in win10 system

Click "Environment Variables"

How to install java in win10 system

Click the "New" button under System Variables, and in the pop-up "New System Variable" dialog box Fill in the "variable name" in: JAVA_HOME, fill in the "variable value": C:\Program Files\Java\jdk-12.0.1 (the folder where jdk is located when installing Java, the default installation is on the C drive)

How to install java in win10 system

Then find the Path system variable, click the Edit and New buttons in turn, and add the variable value: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin (bin under jdk Directory)

How to install java in win10 system

4. Test whether the installation is successful

Open the command prompt, enter java and javac respectively, and the screen as shown below indicates installation. Success

How to install java in win10 system

How to install java in win10 system

Complete!

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

Statement:
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