1.系统变量中新建JAVA_HOME: c:\Program\Java\JDK1.8
Path:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
classpath为java加载类(class or lib)路径,只有类在classpath中,java命令才能识别
设置为.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
alt+/代码自动提示