The environment configuration jdk8

Download jdk, select the installation path for installation. https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

By far the most important thing jdk environment configuration:

Step 1: Open the Computer -> Properties -> Advanced System Settings -> Environment Variables -> System environment variables

Step 2: Add variable JAVA_HOME, Path Selection jdk installation path (as my installation path), click OK.

 

Step 3: Find the path variable, add value:

%JAVA_HOME%\bin

%JAVA_HOME%\jre\bin

 

 After the addition is complete, click OK. Be sure steps 2, 3 are configured.

Step 4: win + R open cmd, input javac, it indicates that a series of configuration information.

 

 

 

 

Guess you like

Origin www.cnblogs.com/deng3/p/11886427.html