1. Find the Eclipse.exe in the Eclipse directory, right click-"Send to desktop shortcut, then right click the shortcut, select Properties, modify" target "(or target), where red represents Eclipse's path, Green represents the path of the Javaw.exe under the JDK, and blue represents the work path:
E:\SOFTWARE\MYCLIPSE\ECLIPSE\ECLIPSE.EXE-VM "C:\Program files\java\jdk1.6.0_24\bin\javaw.exe"-data E:\WorkSpace
2. In the C:/windows/system32 system folder ctrl+f then search Java.exe, if there is Java.exe, Javaw.exe etc. Delete all.
3. Open the Eclipse.ini file in the Eclipse folder. Make the following changes:-vmargs before adding
-vm
The absolute path of the Java.exe (for example: C:/java/jdk/bin/java.exe)
Eclipse will function properly after you specify JAVAVM.
the above can not be solved to try the following methods (not tested): cannot be deleted directly. Metadata <--workspace the project will disappear! -
Delete file [Workspace]/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Eclipse Flash-Back solution