当前位置: 代码迷 >> 综合 >> Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.8', but '1.7'
  详细解决方案

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.8', but '1.7'

热度:27   发布时间:2023-11-18 03:54:57.0

方法一:(1)win+r,输入regedit,

             (2)定位java注册表(HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft)

             (3)将jJava Runtime Environment和JAVA DEvelopment kid里面的jdk设置为1.8

方法二:删除c盘windows/system32目录下的java.exe

原文:https://blog.csdn.net/y532798113/article/details/80017213 
版权声明:本文为博主原创文章,转载请附上博文链接!

  相关解决方案