Thursday, January 24, 2013

Eclipse fails to start after a Mac OS X system crash

Are you seeing crashes on your Eclipse start up? Follow these instructions! Really handy tip by Sergio Bernardino. It indeed fixed my issue on my new Mac :)

- Make sure Eclipse is not running.
- On a Terminal window jump to the location of Eclipse workspace.

Do,
mv .metadata/.plugins/org.eclipse.core.resources/.projects .metadata/.plugins/org.eclipse.core.resources/old.projects

- Launch Eclipse (it should load now).
- Go to “Eclipse->Preferences->General->Startup and Shutdown”and select “Refresh workspace on startup”.
- Quit Eclipse (ignore any of the errors that might be displayed).
- Go back to the terminal window.


Do, 
mv .metadata/.plugins/org.eclipse.core.resources/old.projects .metadata/.plugins/org.eclipse.core.resources/.projects

Load Eclipse again.

After this, everything should be fine and the same issue won’t happen again.

Source

No comments: