is certain that there is something wrong with the Java runtime environment. What should we do in this case?There are actually two steps that you can take to solve the problem.
(1) into the C: \ Windows \ System32 to Java, javaw, javaws deleted or optional change (I will in the Java, javaw, javaws into javaa javawa javawsa), such as:
2. Because the environment variable configuration without any change, so the reshipment JDK can (new folder path consistent with the original configuration), such as new jdk1.8 in D set, I will install the path set to D: \ jdk1.8.
after the completion of the above two steps, re-enter CMD, and then input java-version, this problem is perfectly solved, complete!
Read More:
- Error: opening registry key ‘Software\JavaSoft\Java Runtime Environment’
- Error after JDK reassembly: Error:opening registry key ‘Software/JavaSoft/JRE’
- Eclipse report error Error:opening registry key ‘Software/JavaSoft/JRE’
- Could not find appears when JDK is configured java.dll Could not find Java se runtime environment problems
- Eclipse startup error: a Java runtime environment (JRE) or Java Development Kit (JDK) must be available
- Registry key Error: Java version has value ‘1.8‘, but ‘1.7‘ is required
- Eclipse can’t open an error: Error:could not find java SE Runtime Environment/Error: could not find java.dll
- Error: could not find java.dll Error: could not find Java se runtime environment solution
- Install Java runtime JRE in Ubuntu 16.04
- could not open `C:\Program Files\Java\jre1.8.0_191\lib\amd64\jvm.cfg’
- Some problems and solutions of Java Web
- Eclipse software Java solution: editor does not contain a main type error box
- java.lang.Error: Unresolved compilation problems
- R language loading xlsx error error: JAVA_HOME cannot be determined from the Registry
- CMD input Java error could not create the Java virtual machine
- Problem in configuring Maven error: Java_ HOME not found in your environment.
- Configure Java environment variables for Ubuntu with Zsh configuration
- Bug001: error in gradle configuration environment variable: ERROR:JAVA_ Home is set to an invalid directory!
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Java learning error information 3 — Java notes