1, in the C:/windows/system32 system folder ctrl+f then search Java.exe, if there is Java.exe, Javaw.exe etc. Delete all.
2, insufficient memory, open the Eclipse directory under the Eclipse.ini, the-xmx512m changed to-xmx256m;
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.
4, check the environment variables, the path of the JDK to the front;
5, check the environment variables, the JDK in the path to the top of the JRE;
6. Copy the JRE directory under the JDK directly to the Eclipse folder;
7. Delete files: [Workspace]/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
8. Modify the Registration Form
Hkey_local_machine\software\javasoft\java Runtime environment\1.6 Javahome=d:\jdk\jre RuntimeLib=D:\jdk\jre\bin\ Client\jvm.dll
Change the directory of the JDK to the directory of the JRE.
9. Reload the JDK. If you cannot delete the old version of the JDK, prompting Windows Installer to fail, you can download windows install clean up to force cleanup.
Note: Method 6 resolves most issues, but Eclipse's memory footprint can be significantly increased. (This method succeeds, but will cause eclipse to change a lot more than the original card)
Fundamental solution: Reload the JDK, reload eclipse ...
Source: https://www.cnblogs.com/zhouerba/p/7380705.html
A summary of ways to resolve eclipse flash-back issues