I think maybe it is because of the platflat or Eclipse version.
http://stackoverflow.com/questions/8489322/eclipse-says-workspace-in-use-or-cannot-be-created-chose-a-different-one-ho
Eclipse Java EE IDE for Web Developers.Solution in stackoverflow by jap1968 :
Version: Kepler Service Release 1
Operating System: Windows XP sp3
Just delete the .lock file in the .metadata directory in your eclipse workspace directory
The solution for me is mainly same as jap1968 but the directory is different in windows platflat.
for example, I installed my Ecplise in this path:
C:\Documents and Settings\xenialaw\My Documents\Downloads\eclipse-jee-kepler-SR1-win32\eclipse\And the .lock is placing here:
C:\Documents and Settings\xenialaw\My Documents\Downloads\eclipse-jee-kepler-SR1-win32\eclipse\p2\org.eclipse.equinox.p2.engine\profileRegistry\epp.package.jee.profileRelated Image:
Delete the .lock document and restart the Eclipse can work.
Another method to look for the ".lock" in the root of directory Eclipse,
Delete it would be more easy
About the reason why delete the .lock then work,
it's because
Eclipse creates a .lock file in the workspace that makes the workspace 'lock' its state. This is to avoid opening the same workspace in different eclipse process.
Detail is in this site:
No comments :
Post a Comment