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