Eclipse Failure At Startup
I have had Eclipse 3.2.x crash on me. It seems to freeze on the splash screen. After waiting for a long time, I looked at the log and one of the message says: “A workspace crash was detected. The previous session did not exit normally.”.
I tried to relaunch Eclipse with an option -clean
$ /usr/lib/eclipse/eclipse -clean
But no luck. Reinstall Eclipse is not the better choice for me. Then, I come up with a solution is to reconfigure my workspace. I’ve to renamed my .metadata folder into a different name ( .metadata_bak for example, we will used it later ) and start Eclipse again. It will asked you to choose a workspace. I choose my current folder (current workspace) and it will create a new .metadata folder. After that, I copied old preferences settings into the new one.
cp .metadata_bak/.plugins/org.eclipse.core.runtime/.settings/* .metadata/.plugins/org.eclipse.core.runtime/.settings/
Oh! This is not finish yet. Next, is to import existing projects. By doing this, Eclipse will never see our existing projects. Then, We’ve to import it. Go to File -> Import .. -> General -> Existing projects and Select Root as our current workspace folder. Select all projects & click Finish.
This is the quickest fix that I can think. If you’ve better solution, please feel free to comment.
Posted on May 7th, 2007 by SMD
Filed under: Open Source
I am a Free and Open Source Software lover, advocate. I would like to see Open Source grow, and more users being able to use and understand it. I would like to continue to become a part of this growing community, and to grow with it! 



I couldn’t find a better solution, so thanks Sumardi, your post saved me a lot of hassle!
I had a similar problem, try removing the .metadata/.plugins/org.eclipse.core.resources/.snap file
Your suggestion help me too, just deleting the .snap file was not enough. Thanks for the tip!
Thanks for the post Sumardi. Your instructions are clear and they worked for me. I’m so glad you made the effort to record your solution.
Thank you very much! It worked for me too.
Thanks for the fix; I was able to quickly recover. I believe my issue was due to something within my .plugins folder. I copied them over to the new .metadata folder and the same issue happened again. I just created a new .metadata folder and imported my projects. Issue solved!
my eclipse crashed and I did the same, but It does not work for me. The IDE opens up but most menu items are either disabled or not working. I am feeling screwed up :(. any suggestions would be appreciated. Thanks
Ok it has started working now for no apparent reason :)..anyway, thanks for the above tips