Download and install the Java JDK

Step One: Download

                     Point I entered the official website to download JDK

Download the following two steps:

Step 2: Install JDK

JDK installation: Next -> Next to complete.

The third step: configuration environment variable

    3.1 Open the System page

    3.2 Open System Properties page, click Environment Variables

    3.3 JAVA_HOME path

    Step 4.4 Similarly, the configuration PATH

    3.5 in the same manner, the configuration CLASS_PATH

Note:
 1. JAVA_HOME: C: \ ProgramFile \ the Java \ the JDK-13.0.1 
C: \ ProgramFile \ the Java \ the JDK -13.0 .1 is JDK installation path of your configuration. 

The PATH 2.:% JAVA_HOME% \ bin
               % JAVA_HOME% \ jre \ bin 

the PATH my attention is win10 systems, win7 bit different note with a semicolon (;) separated. 

CLASS_PATH 3.:;.% JAVA_HOME% \ lib;% JAVA_HOME% \ lib \ tools.jar; 
Note: Note that the foremost point

Step Four: Verify

Open command box: the WINDOWS + R & lt keys, enter: cmd; 
into the command line interface input: 
Java - Version 
the javac 
Java

End!

Guess you like

Origin www.cnblogs.com/aaronthon/p/12176063.html