Home > Java > Javagetting Started > How to install java in win10 system

How to install java in win10 system

王林
Release: 2020-06-22 10:23:01
Original
7859 people have browsed it

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!

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