Problem installing JDK Error opening registry key ' Software\javasoft\java Runtime environment '

Source: Internet
Author: User

If the first installation of the JDK test is successful, the following error occurs when you open the CMD input java-version carriage return:

Error opening registry key ' Software\javasoft\java Runtime environment '
Error:could not find Java.dll
Error:could not find Java 2 Runtime environment '

Baidu Translation:

Error: JavaSoft of the software Java Runtime environment that opened the registry key \
Error: unable to find Java.dll
Error: The runtime environment was not found.

Degrees Niang, there are several ways to solve.

The first type:

Because a key entry in the registry is localized into the Chinese name.
[Hkey_local_machine\software\javasoft\java run-time environment]
Change to:
[Hkey_local_machine\software\javasoft\java Runtime Environment]
Windows Start menu, run, input "regedit", then enter, press F3 to open the Find box, type "Java Runtime Environment", and then right-rename to: "Java runtime ENV Ironment ", and then press F3, always put all the found to get rid of so far.

The second type:

Registry: There are two folders under the Hkey_local_machine\software\javasoft\ path, and it is good to delete one, which appears less (not tested).

The third type:

Delete the Java.exe, Javaw.exe, and Javaws.exe files in the Windows\System32 and Windows\SysWOW64 folders on the C drive.

PS: My is this method solves, this is WIN8 solution, but I w7 64 bit of, delete Windows\System32 under Java.exe, Javaw.exe on the line

The fourth type:

Re-install again, the installation of the removal of anti-virus software, I pretend when I play a stop modification ~ Decisive Retreat ~

Problem installing JDK Error opening registry key ' Software\javasoft\java Runtime environment '

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.