I have installed Eclipse with PDT pluging on my virtualbox instance which had Ubuntu installed on it.
The problem was that I was getting this error :
"org.eclipse.core.runtime.CoreException: The file does not exist"
and my projects were not listed in PHP explorer in my eclipse. The problem was that projects existed on my Hard disk. At first I was importing the projects into my workspace , but when it happened for the third time I had enough!
I went to the project directory first: (These files are hidden so you have to use "ls -a" to see them) and there was couple of configuration files and directories:
.buildpath , .project and .settings/ but none of them seemed to have a problem.
I googled it and found this blog post:
http://ahtik.com/blog/2008/01/15/eclipse-workspace-fails-to-start-after-crash-quick-fix/
as he suggests, these are the steps that should be followed:
1- exit Eclipse
2- delete this directory :
$ rm -r <<workspace_dir>>/.metadata/.plugins/org.eclipse.core.resources/
3-start eclipse with -clean switch:
$eclipse -clean
4- go to File->Import-> General->Existing Projects into workspace
and it worked well for me! The directory <<workspace_dir>>/.metadata/.plugins/org.eclipse.core.resources/ is made automaticly again!