首先点击地址进行下载:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
解压jdk的目录
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
%JAVA_HOME%\bin
%JAVA_HOME%\jre\bin
转载:https://blog.csdn.net/konggu_youlan/article/details/79942800
原文:https://www.cnblogs.com/dsshbz/p/14401587.html