1, configured java environment variables

Official website to download eclipse, configure the required jdk (java development kit) java run:

1, the official website to download and install jdk; (  https://www.oracle.com/cn/java/technologies/javase-downloads.html )

 

2, configure the environment variables; (CLASSPATH, D: \ Java \ jdk1.8.0_201 \ lib \ tools.jar [jdk installation position];)

(Path , D:\Java\jdk1.8.0_201\bin ; D:\Java\jdk1.8.0_201\jre\bin)

 a, find the Control Panel / Advanced System Settings / environment variable;

 b, configure the jdk tools.jar file, the CLASSPATH variable named; jdk bin folder configuration, the Path variable named;

 c, the configuration is complete, win + R, type cmd, and enter java -version Enter, if pop iava version of the environment variable configuration is successful; if an error please check for problems.

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/wenna-sblog/p/12603552.html