Java错误打开注册表项 [英] Java Error opening registry key

查看:302
本文介绍了Java错误打开注册表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 打开注册表项软件时出错,我收到此错误\\ JavaSoft\Java Runtime Environment.3'
错误:找不到Java.dll
错误:找不到Java 2运行时环境

我在前几天删除了Java目录和注册表。我重新启动电脑,java仍然工作正常,然后我再次重新启动了今天,现在我得到这个错误。我已经尝试卸载并重新安装,但似乎不起作用。我有最新的Java JRE安装和路径设置在环境变量中。任何人都有任何线索如何解决这个问题?

解决方案

确保删除任何 java.exe javaw.exe javaws.exe 从您的 Windows\ System32 文件夹,如果您有一个x64系统(Win 7 64位)也在 Windows\SysWOW64 下执行相同操作。


I get this error when I try to do anything with Java in command prompt:

Error opening registry key 'Software\JavaSoft\Java Runtime Environment.3'
Error: could not find Java.dll
Error: could not find Java 2 Runtime Environment

I did screw around with deleting Java directories and registry a few days ago. I restarted computer and java was still working fine, then i restarted it again today and now I get this error. I have tried uninstalling and reinstalling but that doesn't seem to work. I have the latest java JRE installed and the path set in the environment variables. Anyone have any clue how to fix this?

解决方案

Make sure you remove any java.exe, javaw.exe and javaws.exe from your Windows\System32 folder and if you have an x64 system (Win 7 64 bits) also do the same under Windows\SysWOW64.

这篇关于Java错误打开注册表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆