简体   繁体   English

错误:注册表项'Software \\ JavaSoft \\ Java Runtime Environment'\\ CurrentVersion'

[英]Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'

I get 我懂了

'Error: Registry key 'Software\\JavaSoft\\Java Runtime Environment'\\CurrentVersion' '错误:注册表项'Software \\ JavaSoft \\ Java Runtime Environment'\\ CurrentVersion'

has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.' 

error after I just type java on command prompt. 我在命令提示符下键入java后出现错误。

I see it is answered in the following link : 1. Java Error opening registry key 2. Error: Registry key 'Software\\JavaSoft\\Java Runtime Environment'\\CurrentVersion'? 我在以下链接中看到它的答案:1. Java错误打开注册表项 2. 错误:注册表项'Software \\ JavaSoft \\ Java Runtime Environment'\\ CurrentVersion'?

But I do not have access to C:/windows/system32 or 64...I am not an admin and contacting admin is not an option. 但是我无权访问C:/ windows / system32或64 ...我不是管理员,联系管理员不是一种选择。

How can I resolve it? 我该如何解决?

It worked when I did the following as posted by someone in the above links posted in my question. 当我在问题中发布的上述链接中的某人发布了以下内容时,它起作用了。

  1. In the START menu type "regedit" to open the Registry (be careful doing this) 在“开始”菜单中,键入“ regedit”以打开注册表(请谨慎操作)
  2. Go to "HKEY_LOCAL_MACHINE" on the left-hand side registry explorer/tree menu 转到左侧注册表浏览器/树菜单上的“ HKEY_LOCAL_MACHINE”
  3. Click "SOFTWARE" within the "HKEY_LOCAL_MACHINE" registries 在“ HKEY_LOCAL_MACHINE”注册表中单击“软件”
  4. Click "JavaSoft" within the "SOFTWARE" registries 在“软件”注册表中单击“ JavaSoft”
  5. Click "Java Runtime Environment" within the "JavaSoft" list of registries 在注册表的“ JavaSoft”列表中单击“ Java Runtime Environment”
  6. Highlight "CurrentVersion" (should see it in the main registry key explorer window on the right) 突出显示“ CurrentVersion”(应该在右侧的主注册表项浏览器窗口中看到它)
  7. Change version to "1.7" 将版本更改为“ 1.7”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM