How do I prevent Eclipse from hanging on startup?

前端 未结 30 1980
半阙折子戏
半阙折子戏 2020-11-28 00:36

I am using Eclipse 3.3 (\"Europa\"). Periodically, Eclipse takes an inordinately long time (perhaps forever) to start up. The only thing I can see in the Eclipse log is:

相关标签:
30条回答
  • 2020-11-28 00:42

    Also look at http://www.lazylab.org/197/eclipse/eclipse-hanging-on-startup-repair-corrupt-workspace/

    99% Recommended Solution works.... (i.e. Removing .snap file) But if it did not worked then we have to try to remove indexes folder and further workbench folder.

    0 讨论(0)
  • 2020-11-28 00:43

    try:

    1. cd to <workspace>\.metadata\.plugins\org.eclipse.core.resources
    2. remove the file *.snap (or .markers in Indigo)
    0 讨论(0)
  • 2020-11-28 00:43

    I tried all of the answers in this thread, and none of them worked for me -- not the snap files, not moving the projects, none of them.

    What did work, oddly, was moving all projects and the .metadata folder somewhere else, starting Eclipse, closing it, and then moving them all back.

    0 讨论(0)
  • 2020-11-28 00:43

    In my case similar symptoms were caused by some rogue git repository with a ton of junk system files.

    Universal remedy, as mentioned above, is to use Process Monitor to discover offending files. It's useful to set the following 2-line filter:

    • Process Name is eclipse.exe
    • Process Name is javaw.exe
    0 讨论(0)
  • 2020-11-28 00:44

    I just had problems with Eclipse starting up. It was fixed by deleting this file:

    rm org.eclipse.core.resources.prefs

    I found in .settings

    0 讨论(0)
  • 2020-11-28 00:47

    Check that the Workspace Launcher hasn't opened on your TV or some other second monitor. It happened to me. The symptoms look the same as the problem described.

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