Registry key Error: Java version has value ‘1.8’, but ‘1.7’ is required
Problem Description:
1. Jdk1.7.0 is installed first_ After 80, jdk1.8.0 was installed_ 181. The former is configured in the environment variable
2. The following error occurs when entering Java – version in CMD:
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
has value '1.7', but '1.8' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
Problem solving:
When upgrading from jdk1.7 to JDK1.8, there are three things to confirm:
1. System environment variables
2. Registry
Computer \ HKEY_ LOCAL_ MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
3. Update java.exe javaw.exe javaws.exe under C: \ windows \ system32
Error caused by too many versions of JDK installed on the computer
For example, there was no problem installing 1.7
After installing 1.8 and modifying the environment variables, the java.exe javaw.exe javaws.exe under C: \ windows \ system32 is still in the 1.7 installation package.
Just replace the java.exe of 1.7 with Java 1.8.
Read More:
- Solve the problem of jdk8 after win7 is installed. Has value ‘1.8’, but ‘1.7’ is required
- Error: opening registry key ‘Software\JavaSoft\Java Runtime Environment’
- Java:Error:Open registry key software \ JavaSoft \ Java Runtime Environment Problems
- Could NOT find CUDNN: Found unsuitable version “..“, but required is at least “6“
- Version 1.8.0_201 of the JVM is not suitable for this product. Version: 11 or greater is required.
- Error after JDK reassembly: Error:opening registry key ‘Software/JavaSoft/JRE’
- java.lang.IllegalArgumentException: Index for header ‘XXX‘ is 1 but CSVRecord only has 1 value
- RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
- [solved] runtimeerror: module compiled against API version 0xc but this version of numpy is 0xb
- How to solve the problem of “version 11 or greater is required” in eclipse 2020
- Eclipse report error Error:opening registry key ‘Software/JavaSoft/JRE’
- One of the methods to solve registry error while deleting key
- Wrong installation of registry to registry
- Idea2021 reports an error. Default operand size is 64 sets the startup task to automatically add the registry
- Command failed: NPM install — loglevel error — registry= https://registry.npm.taobao.org
- R language loading xlsx error error: JAVA_HOME cannot be determined from the Registry
- nvidia-settings: ERROR: nvidia-settings could not find the registry key file
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- Java was started but returned exit code = 13
- MySql 8.x java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed