Problem installing JDK: Error opening registry key ' Software\javasoft\java Runti

Source: Internet
Author: User

Reinstall the system after the discovery JDK did not, re-installed, installed a actually quite easy, but "java-version" return, "Pa", Error:

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

How can this, so Niang ~ found a number of solutions, but each person's computer, different methods, so together to do a statistic, my problem is the kind of Baidu for a long time to solve the ~ ~ The following list of degrees Niang found several solutions ~

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", and then enter, press F3 to open the Find box, type "Java Runtime Environment", and then right-rename to: "Java Runtime environment , and then press F3, and always get rid of all that is found.

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 of, delete Windows\System32 under Java.exe, Javaw.exe on the line

Problem installing JDK: Error opening registry key ' Software\javasoft\java Runti

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.