When Eclipse doesn’t start….

Sometimes Eclipse can be a real pain in the ass of a developer.

Eclipse use a sort of “index” for advanced features like code assist, and if something goes wrong when that index is built, the IDE can freeze during the startup.

The only trick I’ve found to exit from this kind of deadlock is to remove an hidden file in the workspace. 

rm <workspace>/.metadata/.plugins/org.eclipse.core.resources/.snap

This file contains the index I’ve said before, removing this file force Eclipse to rebuild the index from scratch and the situation returns normal.

Cheers ;)

About

Technology addicted, software developer and co-founder at Spreaker.