piątek, 2 kwietnia 2010

Eclipse - Workspace Cannot Be Locked (former: Workspace in use or cannot be created)

Full error message:
Could not launch the application because the associated workspace is currently use by another Eclipse application.

Basically the following should do the job:
rm $WORKSPACE_DIR/.metadata/.lock

Quick explanation:
Each time you run Eclipse with particular workspace it is locked. Mechanism of that is quite simple. It is just a .lock file in .metadata directory. Thus the only one need to do in order to unlock workspace is to delete .lock file. Usually such happens when Eclipse hangs and you need restart your machine.

Brak komentarzy:

Prześlij komentarz