Prerequisites: Configure the Path and ClassPath environment variables.
The following error occurred many times when performing Java.exe in the console:
Registry Key 'Software / JavaSoft / Java Runtime Environment / CurrentVersion'Has Value' 1.4 ', But' 1.3 'is Required.Error: Could Not Find Java.dllerror: Could Not Find Java 2 Runtime Environment.
Try one, follow his prompt, find the registry key, modify it to 1.3, unnatural;
Try two, run Java.exe directly with a full path;
Try three, cut the Java path in PATH to the system directory Windows and System32 as the third, still;
Try four, put the Java path in Path in the first, OK;
Try 5, find the Windows and System32 directories, find a java.exe in the System32 directory, estimate is MS put in, Rename IT, OK.
Summary, it turned out to be the problem of Path search. He thought about it at the beginning. Now it seems that it is still very important. Of course, try more important.