03 Windows install Java environment

Java environment is installed

1. unloading (the computer program is not installed, skip this procedure)

   Find a computer above the control panel

  

 

 

 

 

 

 

 

 

 

 

 

 Find these two files, select a file, right-click of the mouse,

 

 

 

 After unloading is completed, open the DOS window, "win + R" enter "cmd" Enter

 

 

 

 2. Installation

   First, download the installation package, download address: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

 

 

 

 After the download is complete, find the location of the file.

 

 

 

  

And then double-click to open:

 

 

 

 

 

 

 Wait patiently. . . . . .

  

 

 

 

 Waiting. . .

 

 

  3. Configuration Environment Variables

Find the "My Computer", select My Computer, right click, click on the "Properties"

 

 

 

 

 

 

 

 

 

Double-click the "Path", or click to select, click the "Edit":

In the back of the original content, append the following

C:\Program Files\Java\jdk1.8.0_191;C:\Program Files\Java\jdk1.8.0_191\bin;

note

1. are in English following a semicolon

2. Each environment variable, are separated by a semicolon in English

  

 

 

 

 5. Test whether the installation is successful

 4. Test whether the installation and configuration is successful.

Open a DOS window, run the command in a DOS window inside: "java -version"

As shown in the figure appears, proved successful installation.

 

 

 

 

Guess you like

Origin www.cnblogs.com/lengfengtyf/p/12196032.html