For a long time, writing Java and writing Android are all used by eclipse. But then one day, when I tried to open eclipse as usual, eclipse was gone. Flash back. After the shock I found myself having a headache.
Search various types of blog space, found that many others can solve the problem of the answer to me is not suitable. And slowly find, then finally resolved, now summarized as follows (really dare not say all).
How to resolve:
1. By typing "where Java" in the command line, find all Java-related programs except the JDK directory, and delete them directly (usually under C:\WINDOWS\system32)
2. Out of memory, open Eclipse.ini in Eclipse directory and change the-xmx512m inside to-xmx256m
3. Check the environment variables, and place the JDK path in the path variable at the front (".;" at the beginning). 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. Rumors of the almighty scheme (but not all-in-all): Copy the JRE directory under the JDK directory directly to the Eclipse directory
6. Delete file: [Workspace]/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi (Likes one. )
7. Directly delete the workspace. Metadata
Statement:
A. I can solve by way of 5, but after the start and operation of the huge card, the CPU is easy to 100% ...
B. I am now using scenario 4, visually operating well
C. Adoption of Scenario 7, the biggest disadvantage is that the original project in Eclipse is gone, to re-import, crying