Had a weird issue with Eclipse not starting, it would bomb out with the following exception:
JVM terminated. Exit code=1
Under the workspace folder there are a number of files and directories:
Normally deleting the .lock file seems to cure this problem, but it didn’t in this case.
In order to cure it I had to go into
and remove the .snap file. This sorted out the issue and allowed me to start Eclipse again. Unfortunately I lost all the projects within the workspace and had to reimport them (grrr).
You can alternatively try running the Eclipse Workspace Rebuilder (http://www.eclipse.org/eclipse/platform-core/downloads.php). Unzip the rebuilder zip file and run it using:
eclipse -application org.eclipse.core.tools.restorer.application
It doesn’t restore everything, only the basic state of your projects.