Eclipse always hang in Mac
2013-11-28
I am using eclipse kelper in mac osx mavericks, it always hang. I finally got a work around solution from
http://www.lazylab.org/197/eclipse/eclipse-hanging-on-startup-repair-corrupt-workspace/
Removing .snap File
Open \.metadata\.plugins\org.eclipse.core.resources directory
Remove .snap file in the directory
Restart Eclipse
Remove .indexes Folder
Remove the \.metadata\.plugins\org.eclipse.core.resources\.root\.indexes directory
Restart Eclipse
Move .project
mv workspace/.metadata/.plugins/org.eclipse.core.resources/.projects workspace/.metadata/.plugins/org.eclipse.core.resources/old.projects
My script
rm -fr workspace/.metadata/.plugins/org.eclipse.core.resources/.snap rm -fr workspace/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/ mv workspace/.metadata/.plugins/org.eclipse.core.resources/.projects workspace/.metadata/.plugins/org.eclipse.core.resources/old.projects