Recently when I installed Eclipse after formatting my laptop, I was annoyed by the error “workspace in use or cannot be created” coming out every time I tried starting the application. I tried changing the name of workspace but it was of no use. Then I found out another way to solve this problem which I would I like to share. You have to do a little bit of modifications in the configuration file. The steps are following:
- Go the Eclipse folder (mostly in C drive)
- Go to configuration and then .settings
- Look for org.eclipse.ui.ide.prefs
- Open it in a text editor
- Here look for lines with RECENT_WORKSPACES
- Delete it
Try using Eclipse now. The trick worked for me. Hope will work for you as well. The reason, to my knowledge , is that I copied this Eclipse folder to my External Hard Disk after using it several time. Therefore the workspace setting was changed in it and I tried using Eclipse with the same setting which did not match as I had change the name of my computer.