JDK环境配置(Windows):
1.下载jdk版本:
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2.在系统”环境变量“,”系统变量“设置JAVA_HOME,如图:
3.在classpath设置:%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
4.CMD命令查看是否设置成功
JDK环境配置(Windows):
1.下载jdk版本:
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2.在系统”环境变量“,”系统变量“设置JAVA_HOME,如图:
3.在classpath设置:%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
4.CMD命令查看是否设置成功