Can not start eclipse due to org.eclipse.core.runtime

不羁岁月 提交于 2019-12-05 15:34:24

I think you might have deleted some critical folder inside the 'plugins' directory. If I were you, I would compare the freshly downloaded and extracted Eclipse installation contents, directory-wise, with the one that has problems starting.

shawn

This error happens because you deleted the config.ini file when you deleted the plugins. So, when it can not find configuration in config.ini when eclipse launches, then it uses a default configuration which does not fit with your OS. The following steps solve your problem:

  1. Delete setting in configuration folder.
  2. create a new config.ini file.
  3. copy following setting and save.
  4. restart Eclipse.

These are the settings:

osgi.splashPath = platform:/base/plugins/org.eclipse.platform  
osgi.bundles=org.eclipse.equinox.common@2:start, 
    org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start  
eclipse.product=org.eclipse.sdk.ide  
osgi.instance.area.default=@user.home/workspace  
eof=eof

I had the same problem today because of an unespected shutdown of my computer and i solved in this way:

  • find the configuration directory .eclipse (usually in windows C:\Users\{user}\.eclipse\{eclipse version}
  • delete that directory
  • restart eclipse

So the config directory will be recreated and you should re-download your plugins

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