Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse says: “Workspace in use or cannot be created, chose a different one.” How do I unlock a workspace?

Tags:

eclipse

When I start, Eclipse says "Workspace Cannot Be Locked"

"Could not launch the product because the associated workspace is currently in use by another Eclipse application." or “Workspace in use or cannot be created, chose a different one.”

But I know it isn't.

How do I "unlock" it?

like image 281
Roger C S Wernersson Avatar asked Dec 13 '11 12:12

Roger C S Wernersson


1 Answers

Just delete the .lock file in the .metadata directory in your eclipse workspace directory.

Precaution - If you delete the .metadata folder all preference will be deleted.

like image 138
Boris Avatar answered Oct 10 '22 04:10

Boris