CLASSPATH

.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;

 

JAVA_HOME

C:\Program Files\Java\jdk1.8.0_171 (jdk安装路径)

 

Path

%JAVA_HOME%\bin

%JAVA_HOME%\jre\bin