Java JDK更新 This version of the JDK is already installed Please uninstall the JDK and run ……

java JDK从1.6更新到1.8版本

java初学时有很多人不知道怎么更新JDK,之前的版本是1.6版本的,那么:

1.官网下载1.8的JDK

https://www.oracle.com/cn/java/technologies/javase/javase-jdk8-downloads.html

2.安装

Java JDK更新 This version of the JDK is already installed Please uninstall the JDK and run ……_第1张图片

                    此图表示已经安装完毕

3.找到C:\Program Files\Java文件,然后配置环境变量

Java JDK更新 This version of the JDK is already installed Please uninstall the JDK and run ……_第2张图片

4.测试是否配置完成,打开Windows+R 

Java JDK更新 This version of the JDK is already installed Please uninstall the JDK and run ……_第3张图片

 

你可能感兴趣的:(jdk,java)