无法开始日食

时间:2013-01-26 21:06:12

标签: eclipse

启动eclipse时出现以下错误

!SESSION 2013-01-26 16:03:57.125 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20110726_87724 (JIT enabled, AOT enabled)
J9VM - 20110726_087724
JIT  - r9_20101028_17488ifx17
GC   - 20101027_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.ibm.rational.rsa4ws.product.v80.ide
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.ibm.rational.rsa4ws.product.v80.ide -clean -consoleLog

!ENTRY org.eclipse.osgi 4 0 2013-01-26 16:04:17.812
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
    at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
    at org.eclipse.equinox.launcher.Main.run(Unknown Source)

1 个答案:

答案 0 :(得分:0)

您需要将以下代码添加到eclipse.ini的底部:

     Dosgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.e.  clipse.core.runtime@

如果它仍然不起作用,那么看起来你将不得不重新安装eclipse。我假设你知道怎么做。一个常见的错误是下载错误的'bit'包。假设您的PC是32位,但是您下载的是64位软件包。