Eclipse hangs at startup showing only the splash screen

Today my Eclipse Galileo hung at start up. After trying some tricks such as eclipse -clean, or eclipse -debug -console, searching for hints in the log files, removing xulrunner from the java.library.path environment, deleting some of the most recent history files and so on I found the solution. In your workspace directory perform the following steps:

  1. cd .metadata/.plugins
  2. mv org.eclipse.core.resources org.eclipse.core.resources.bak
  3. Start eclipse. (It should show an error message or an empty workspace because no project is found.)
  4. Close all open editors tabs.
  5. Exit eclipse.
  6. rm -rf org.eclipse.core.resources (Delete the newly created directory.)
  7. mv org.eclipse.core.resources.bak/ org.eclipse.core.resources (Restore the original directory.)
  8. Start eclipse and start working. :-)
This entry was posted in Uncategorized. Bookmark the permalink.

129 Responses to Eclipse hangs at startup showing only the splash screen

  1. fisher says:

    I’ve got this saved so that every 2 months when this happens i don’t lose half a day of work trying to remember the steps! thanks!

  2. Debu says:

    Thanks. I also faced the same problem and this solution worked perfectly. Really a big help.

  3. GClarkB says:

    Thanks a bunch. This worked great. I am using the STS version of eclipse from SpringSource, and it was hanging on startup every time. Your solution worked for me.

  4. Christer Bernérus says:

    Thanks. You saved my day!

  5. Renaud says:

    Thank you!

  6. James says:

    Thanks! This one really helped without loosing any settings.

  7. Daling says:

    Thanks!! This one helps me lot.

  8. Awesome says:

    Saved my life… almost :)

  9. Sten says:

    I think u can use
    eclipse -clean -clearPersistedState

    (from <a href="http://stackoverflow.com/questions/15372023/eclipse-will-not-start-and-i-havent-changed-anything&quot; title="SOF")
    too. It is a little bit easier ;)

  10. Alfonso Mateos says:

    Thaks a lot! You saved me a lot of time!

  11. anu says:

    Thanks.. perfectly worked for me too.

  12. jim says:

    You rock!!!!

  13. jim says:

    Just want to add that this works in Eclipse Luna

  14. Cole Markham says:

    Thanks for the post, really helped me out. I also found this bug report and added this workaround and a link back here so hopefully it can be fixed (4 years later). https://bugs.eclipse.org/bugs/show_bug.cgi?id=426295

  15. sree kumar says:

    Wavoooooo!!!!

    Worked :)

  16. BalaG says:

    I had to use both soluctions to fix my eclipse hang problem.
    eclipse -clean -clearPersistedState

  17. BalaG says:

    You saved my day !!!!!!!!!!! Great !!!!!!!!!

  18. Mc says:

    This is amazing, I defaulted to reinstalling eclipse the last time this happened because I just had to get work done, but this is way better!!!

    Could you explain what this does, and how you figured it out?

    Please & Thanks :)

  19. Tomas says:

    Thanks Olaf, your step-by-step tutorial worked smoothly and saved me a lot of anger ;-)

  20. Siya says:

    Thxxxx

  21. Prasanna says:

    Hi,

    Thanks. It saved my day.

  22. ganesh says:

    I am facing same problem while starting the eclipse kepler first time. No workspace setup.

  23. Mohamed Ashik says:

    Thanks alot!

  24. Frustrated says:

    A good instruction. I’m so frustrated with Eclipse IDE. I got the new “Luna” release hoping things would get better but it was actually the other way around. Crashing and deadlocks are happening all the time. “Remote system operations” are freezing the whole editor at startup. Building projects automatically takes forever at startup and Java-memory consumption is crazy high. I saw 15 million I/O operations just for starting the IDE and then I had to kill it because it went deadlock after awhile. Actually Kepler was more stable.

  25. aditya says:

    Its Works great…………….

  26. aditya richhariya says:

    It Works Great!

  27. Rolf says:

    As it didn’t work for me in Eclipse Luna, i searched for another one and found a working soluting:

    rm YOUR_PROJECT_DIR/.metadata/.plugins/org.eclipse.core.resources/.snap

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">