Eclipse hangs on startup [duplicate]

五迷三道 提交于 2019-11-30 08:18:40
rtack

I've had exactly the same problem and could solve it using the answer here https://stackoverflow.com/a/5504530/1275767 which works by moving the projects out of the workspace and back in again after Eclipse has been started and stopped.

Starting it with -clean -data started eclipse but whenever I switched the workspace using the eclipse gui it wouldn't load.

Remove .snap (or .markers in Indigo) from .metadata.plugins\org.eclipse.core.resources.projects\\

Couldn't solve these problems with any of the above options on mars or neon. Downgraded to Luna, which also happens to be the version that I had deleted previously. This worked for me.

user6191453
  1. Edit workbench.xml in the \workspace\.metadata\.plugins\org.eclipse.ui.workbench\ folder
  2. remove all the coding in XML File in between <editor></editor> in the <editors></editors>
  3. save the xml file and close the eclipse platform and restart your Eclipse and it should run properly

With Eclipse Kepler, you need to remove all of the .snap files within the .plugins directory, i.e. C:...\eclipse-jee-kepler-R-win32.metadata.plugins. Once I did that, everything started up fine. (NOTE: There are about 10 *.snap files total)

Tried all the above options, nothing worked. So I finally figured out the solution: I removed all JRE installations in my C:\Program Files and C:|Program Files(x86) folders. Installed a new JDK 7 package, copied the fullpath of JDK7\bin folder and appended it at the end of the "Path" variable found under 'Environment variables' of my Windows 7 pc. Then restarted everything, so it worked.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!