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