1.下载安装
官网下载: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
百度云链接 window 64 位:https://pan.baidu.com/s/1DJ2_7r0gCY2w8GXc0HudlQ 密码:nry4
2.环境变量配置
参考 :https://jingyan.baidu.com/article/6dad5075d1dc40a123e36ea3.html
2-1 系统变量→新建 JAVA_HOME 变量 。
变量值填写jdk的安装目录(本人是 E:\Java\jdk1.7.0)
2-2 系统变量→寻找 Path 变量→编辑
在变量值最后输入
win xp
%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
win 10