There are two reasons for this problem
1. Installing other versions of JDK when JDK is not unloaded (common)
2. When using the version before jdk1.4, a key in the registry is localized to Chinese
Solution to the first case:
Search for the files whose file name is not java.exe in the directory “C: [windows] system32” and rename them, such as “javaa. Exe”
The solution to the second situation:
Open the registry and_ LOCAL_ Machine/software/javasoft/Java runtime environment]
Change to: [HKEY]_ LOCAL_ MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
The problem can be solved
Similar Posts:
- Multiple JDK switch and solution of could not find java.dll exception in win10 environment
- Eclipse can’t open, prompt could not open jvm.cfg error
- This application requires Java Runtime Environment
- Registry key ‘Software\JavaSoft\Java Runtime Environment’\CurrentVersion’ has value ‘1.8’, but ‘1.7’
- JDK 3 Error: has value ‘1.8’, but ‘1.7’ is required [How to Solve]
- FreeMind Open Warning: the registry refers to a nonexiste
- Win10 Access Shared Folder Error 0*80004005 [How to Solve]
- Open chrome under selenium and solve the error
- [How to Use] System.getProperty(“user.dir”)
- [Failed to Delete Printer] -Failed to remove driver ZDesigner ZT210-300dpi ZPL. Failed to remove package zdesigner.inf. Driver package is in use.