1.https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 下载java

2.解压java包

3.配置环境变量 4.重启配置