Eclipseboot prompts javaw.exe in your current path, no Java Virtual Machine solution, three methods:
1. In the MS-DOS window, switch to the eclipse directory and run eclipse-vm f: \ noj2sdk \ bin \ javaw, you can start eclipse (the eclipse-VM Dir-location parameter can be used to specify other JRE .). That is, set the VM variable of eclipse. ini.
2. Copy the JRE directory under the F: \ noj2sdk directory to the eclipse directory to start eclipse.
3. Change the "F: \ noj2sdk" directory name to "F: \ j2sdk" to start eclipse.
The preceding three methods can be executed separately. If both methods are executed, by default, eclipse first executes the-VM parameter. If the-VM parameter is not found, it searches for the eclipse \ JRE subdirectory. If no-VM parameter is found, eclipse looks for the Java Runtime Environment registered in the system.
After you run eclipse for the first time or reinstall JDK, the following problems are frequently prompted:
... No Java virtual machine was found after searching the follwing locations:
D: javaeclipsejreinjavaw.exe
'Javaw.exe 'in your current path.
:
Javaw.exe is not found in the specified sequence. This is because javaw.exe is enabled when the eclipseconfig starts. After finding the directories in the path, you cannot find them. Then, you can find them in the eclipse installation directory (such as D: javaeclipse. That is, first find the external device. If not, find your own device. If none of them are found, report the above error.
Follow the prompt: eclipsemust be javaw.exe to run. To set the path, you can find javaw.exe through the PATH variable of the eclipse.
Solution:
Set the path of javaw.exe in path, for example:
D: javajrein
Or:
D: javajdkin
In addition, you can modify the eclipse. ini file and add the following two lines at the beginning:
-VM
D:/Java/jdk1.6.0 _ 10/bin/javaw.exe