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. :-)
This has indeed solved the same problem that I was having. Can you provide any background on the root cause of the problem?
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. ;-)
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 ;-]
Thanks for saving me boatloads of time. Great solution. I’m sure it won’t be the only time I have to use it.
Thanks for posting your fix. It just happened to me :)
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
Pingback: Tweets that mention Eclipse hangs at startup showing only the splash screen | off-topic -- Topsy.com
@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
Thanks for saving me. My workspace is working like a charm.
Thanks for saving me. My workspace is working like a charm.
Run a project clean and update maven project configurations
Thanks Olaf. Fixed me too.
This worked for me too! Thanks!
Thank you, thank you, thank you…
It’s works fine..
cheers
Worked like a charm, thanks!
This works. Many thanks.
Thanks. Big help
Pingback: Eclipse 3.6 freezes at startup « Pure-Essence.Net
Finally !! Thank you so much.
This issue was driving me crazy and this is the only procedure that really worked.
Thank you! It’s a magic!
Thanks Man .. !!! My eclipse crashed after an internal error and hanging on restart. Thanks to your post, it works fine now .. :P
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.
This solved my issue with Eclipse, thanks!
thanks!!!
note that you have to
“CLOSE ALL your editor tabs”
at first I missed that
Fixed it :) Thanks so much!
Thanks for the helpful tip!
Another Happy Customer here ;)
It worked for me too! Thanks ;)
Thanks, saved my day!
/Mikael
Worked for me too. Thanks!
Thanks a lot! It saved me!
Brilliant! Thank you for posting this.
Thank’s a lot for this tip! It works fine for me.
Thanks for this tip! It was a godsend! Your post along with Zack’s tweak helped me out tremendously. Kudos!
Hey, thanks for saving me a lot of time!
Thank you for posting this solution. Great job!