Eclipse - The default workspace ‘/home/strong/eclipse-work’ is in use or cannot be created.

Eclipse - The default workspace ‘/home/strong/eclipse-work’ is in use or cannot be created.

Workspace Unavailable
The default workspace ‘/home/strong/eclipse-work’ is in use or cannot be created. Please choose a different one.

1. Workspace Unavailable

Here Insert Picture Description

Here Insert Picture Description

2. Delete the .lockfile

workspace profile .lockfile ( workspace/.metadata/.lock), lock the workspace, delete .lockfiles.

strong@foreverstrong:~/eclipse-work/.metadata$ ll ./.lock 
-rw-rw-r-- 1 strong strong 0 Jan 15  2018 ./.lock
strong@foreverstrong:~/eclipse-work/.metadata$ 
strong@foreverstrong:~/eclipse-work/.metadata$ sudo rm -rf ./.lock 
[sudo] password for strong: 
strong@foreverstrong:~/eclipse-work/.metadata$
Published 510 original articles · won praise 1825 · Views 1.1 million +

Guess you like

Origin blog.csdn.net/chengyq116/article/details/104879587
Recommended