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.

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

  1. Jim says:

    This has indeed solved the same problem that I was having. Can you provide any background on the root cause of the problem?

  2. Olaf says:

    No, I lost enough time with that and after that I didn’t feel like digging deep into that issue. All I know from the doc is that this package provides basic support for managing a workspace and its resources. For me it was sufficient to address the symptoms. ;-)

  3. sam says:

    Thank you very much for sharing this information, you saved me and therefore i shall love you!

    The last time my eclipse was running, was before i tinkered with installing oracle. This left my system in a mess and i had absolutely no clue which of the 1000 things i had to touch during this process was now causing my eclipse to freeze at startup. There was no single hint in the eclipse log files or console. After applying your trick i was amazed, finally seeing it starting again.
    There was one problem, the workspace seemed to be completely empty. However it turned out that only the working sets lost their project associations, the “Window Working Set” still had all projects and so far everything appears to be back in good order and condition.

    Once again thank you, and may this little secret save many more desperate eclipters in their darkest hours ;-]

  4. John Leo says:

    Thanks for saving me boatloads of time. Great solution. I’m sure it won’t be the only time I have to use it.

  5. Trent says:

    Thanks for posting your fix. It just happened to me :)

  6. zack says:

    Thanks for the fix. Eclipse was hanging at the splash, and I used something similar to your trick to get it going:

    I had a single project that was the likely culprit (subclipse looked to be freaking out).

    1. cd .metainfo/.plugins/org.eclipse.core.resources/.project
    2. mv myProject /tmp
    3. open eclipse, close all windows, close myProject
    4. close eclipse
    5. (in same dir as #1) mv myProject /tmp/myProject.crap
    6. (in same dir as #1) mv /tmp/myProject ./
    7. start eclipse, open myProject, it was back to normal with all svn info intact

    Env: Eclipse 3.6 (major plugins: subclipse,gwt), OSX 10.6.4

  7. Pingback: Tweets that mention Eclipse hangs at startup showing only the splash screen | off-topic -- Topsy.com

  8. Alan Lord says:

    @zack,

    Thanks for this.

    It just happened to me. I have lots of projects but it was the last one I was working causing the lock on startup.

    Your suggestion seems to have resolved the issue.

    Cheers

    Al

  9. Sibusiso says:

    Thanks for saving me. My workspace is working like a charm.

  10. Sibusiso says:

    Thanks for saving me. My workspace is working like a charm.

    Run a project clean and update maven project configurations

  11. Dan Devine says:

    Thanks Olaf. Fixed me too.

  12. Hari says:

    This worked for me too! Thanks!

  13. Tomas says:

    Thank you, thank you, thank you…
    It’s works fine..
    cheers

  14. Rom58 says:

    Worked like a charm, thanks!

  15. Wayne Baswell says:

    This works. Many thanks.

  16. Don Denoncourt says:

    Thanks. Big help

  17. Pingback: Eclipse 3.6 freezes at startup « Pure-Essence.Net

  18. Axel says:

    Finally !! Thank you so much.
    This issue was driving me crazy and this is the only procedure that really worked.

  19. Kate says:

    Thank you! It’s a magic!

  20. Umesh says:

    Thanks Man .. !!! My eclipse crashed after an internal error and hanging on restart. Thanks to your post, it works fine now .. :P

  21. John Munsch says:

    You sir, rock. That fixed a nasty problem that was preventing startup for me. That should be in the official troubleshooting or FAQ or something. Hell, that should probably be something Eclipse is smart enough to do itself to heal.

  22. This solved my issue with Eclipse, thanks!

  23. yang says:

    thanks!!!

    note that you have to
    “CLOSE ALL your editor tabs”

    at first I missed that

  24. Andy says:

    Fixed it :) Thanks so much!

  25. Padma says:

    Thanks for the helpful tip!

  26. Mark says:

    Another Happy Customer here ;)

  27. Yoav says:

    It worked for me too! Thanks ;)

  28. Mikael says:

    Thanks, saved my day!
    /Mikael

  29. darwinian says:

    Worked for me too. Thanks!

  30. XR says:

    Thanks a lot! It saved me!

  31. Don says:

    Brilliant! Thank you for posting this.

  32. Thank’s a lot for this tip! It works fine for me.

  33. Jerry G. says:

    Thanks for this tip! It was a godsend! Your post along with Zack’s tweak helped me out tremendously. Kudos!

  34. Matthias says:

    Hey, thanks for saving me a lot of time!

  35. Randy Valencia says:

    Thank you for posting this solution. Great job!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">