Recently, Eclipse has a problem, it feels strange, is to open eclipse in the load, suddenly flashed out, no error. After searching the data on the Internet, we summarize the following methods to solve this problem:
1, by typing "where Java" in the command line, find all Java-related programs except the JDK directory, directly delete (usually under C:\WINDOWS\system32)
2, insufficient memory, open the Eclipse directory under the Eclipse.ini, the inside of the-xmx512m to change to-xmx256m
3. Check the environment variable, and place the JDK path at the front (".;" in the path variable). Directly behind)
4. Check the environment variables, and place the JRE path in the JDK at the front (".;" At the beginning of the path variable). Directly behind)
5, the rumor of the universal scheme (but not the most versatile): The directory of directories under the directory of the JRE directly copied into the Eclipse directory
6. Delete files: [Workspace]/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
7. Find Eclipse.exe in Eclipse directory, right click-"Send to desktop shortcut, then right click on shortcut, select Properties, modify" target ":
E:\SoftWare\Myclipse\eclipse\eclipse.exe -vm "C:\Program files\java\jdk1.6.0_24\bin\javaw.exe" - Data E:\WorkSpace
Where red represents the path of Eclipse, green represents the path of the Javaw.exe under the JDK, and blue represents the work path
(I solved the problem by this method)
8. Open the Eclipse.ini file in the Eclipse folder. Make the following changes:
Add an absolute path to the-VM Java.exe (for example: C:/java/jdk/bin/java.exe) before -vmargs
Eclipse will function properly after you specify JAVAVM.
Possible causes of this problem:
1. When invoking the Java command, WINDOWS will look for this command from the environment variable, guessing that the system folder priority is always higher than the specified java_home, when your c:/windows/ When there is a java.exe in System32, the first java.exe to be found is definitely in the system folder, so no matter if you reload eclipse or reload the JDK, there is no special effect, but you can skip this java.exe when you specify the path to the JVM. And find the real java.exe. So specify the path after all problems are resolved.
2. It may be that you have multiple JDK installations, which eventually leads to eclipse not knowing which one to use
Eclipse Flash-back is not open