Eclipse fails to start after crash

前端 未结 7 1348
生来不讨喜
生来不讨喜 2020-12-04 19:06

Eclipse crashed and I cannot restart it. How do I recover from the crash?

Here is the .log file:

!SESSION 2013-04-22 20:12:27.799 ------------------         


        
相关标签:
7条回答
  • 2020-12-04 19:29

    For windows user this folder is in workspace C:\Users\elminson\workspace\\.metadata\\.plugins

    0 讨论(0)
  • 2020-12-04 19:32

    important If you save projects in workspace folder: back it up now

    see How to run eclipse in clean mode? and what happens if we do so?

    http://aglazkov.wordpress.com/2010/07/18/one-way-to-restore-eclipse-workspace/

    http://breathingtech.com/2009/how-to-reset-workspace-in-eclipse/

    • Open your task manager –> right click the javaw.exe process –> chose to end process tree (this will end all java runtime processes running on your computer).

    Then go to your Eclipse folder –> configuration.settings and delete the org.eclipse.ui.ide.prefs file. Restart Eclipse and try opening your workspace again. This does the trick for me :) Beaware that deleting this file results in resetting your workspace history so when starting Eclipse you need to manually browse to your workspace location.

    • remove the workspace folder or rename it
    0 讨论(0)
  • 2020-12-04 19:35

    After nothing of the above points worked for me, I just checked the RAM usage in the task manager. To my shock, I found that, out of the 2 GB RAM that I have, I just had 100 MB left. Eclipse took like 1 GB from that. I killed all the other unwanted applications, and then re ran eclipse.

    It simply worked :-)

    Nowadays, when I run eclipse, I run it without any unwanted , RAM consuming applications

    0 讨论(0)
  • 2020-12-04 19:37

    thats right. you can fix this by just deleting or renaming this folder in your workbench directory - .metadata/.plugins/org.eclipse.e4.workbench to .metadata/.plugins/org.eclipse.e4.workbench.temp .

    0 讨论(0)
  • 2020-12-04 19:38

    Go to your Workspace/.metadata/.plugins and delete everything in there. Eclipse will start and regenerate the folder and files.

    0 讨论(0)
  • 2020-12-04 19:39

    My machine was slow and I try to close the eclipse . After few attempts eclipse got closed. After i restarted the machine , the eclipse was not getting opened and it was showing multiple errors.

    I deleted the .\metadata\.plugins\org.eclipse.jdt.ui\variablesAndContainers.data file and .\metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi file .

    After which eclipse was working.

    0 讨论(0)
提交回复
热议问题