Eclipse Initializing Java Tooling Error on 64bit Windows 7

19. November 2009

No Gravatar

Just a short note about an error I resolved lately.

Eclipse Initializing Java Tooling hangs at 1% while eclipse uses a lot of resources while configuring org.eclipse.jst.j2ee.internal.web.container … I’m on Windows 7, 64bit, 64bit JDK, running as non-admin.

This error seems to have some connection to the installed plugins, or with the last exit of eclipse. I found a forum entry “on the internets” where one user said he just deleted the lock file in his workspace’s metadata folder. This didn’t work for me. Another user mentioned that you can delete or rename the folder to resolve the issue:

WORKSPACE_HOME/.metadata/.plugins/org.eclipse.core.resources/.projects

This worked for me, eclipse starts back on error-free again - BUT when closing eclipse, another error appears, that says that metadata in this folder could not be saved (something to do with the servers). Starting back up again after this gives me the same error again, Java Tooling hanging at 1%

Switching the workspace seems to help. Saying that, the workspace is corrupt somehow.So the single working workaround is deleting the .metadata folder for your eclipse workspace and start that workspace anew, importing projects, generating a new server. Can’t reproduce the error now, but I still guess that its something one of the plugins save wrongly in the project-metadata. I suspect its the JavaScript support, the springide-plugin or the subclipse plugin, as these are the plugins that a guy from this forum-thread had installed that I also use.

Well, never mind. Its a bunch of plugins in one giant IDE-framework. Can’t work on a 64bit Win7, right?

  1. MattNo Gravatar schrieb,

    This happened to me as well, on a 64-bit Mac (Snow Leopard). I was able to get around it by cleaning all my compilation outputs using Ant (i.e. deleting all the “/build/classes” directories).

  2. ultimate_questionNo Gravatar schrieb,

    This also happened to me on a 64-bit Mac after upgrading to Snow Leopard although I doubt it is related to the OS or architecture. It’s just another Eclipse bug. Something somewhere in the workspace metadata got corrupted — an event that happens relatively often. I’ve found it’s quicker to create a new workspace and import the projects than to try to track down the cause.

Kommentar schreiben

You seem to be using an unsafe, outdated browser. Click here to install the world's fastest and safest browser for free! X