Eclipse hangs at startup showing only the splash screen
March 27th, 2010 Posted in Uncategorized
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:
- cd .metadata/.plugins
- mv org.eclipse.core.resources org.eclipse.core.resources.bak
- Start eclipse. (It should show an error message or an empty workspace because no project is found.)
- Close all open editors tabs.
- Exit eclipse.
- rm -rf org.eclipse.core.resources (Delete the newly created directory.)
- mv org.eclipse.core.resources.bak/ org.eclipse.core.resources (Restore the original directory.)
- Start eclipse and start working. :-)
March 30th, 2010 at 9:33 pm
This has indeed solved the same problem that I was having. Can you provide any background on the root cause of the problem?
March 31st, 2010 at 2:16 pm
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. ;-)
May 14th, 2010 at 11:18 am
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 ;-]
June 16th, 2010 at 4:56 am
Thanks for saving me boatloads of time. Great solution. I’m sure it won’t be the only time I have to use it.
July 27th, 2010 at 2:25 am
Thanks for posting your fix. It just happened to me :)