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 '