-2

启动 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)
4

1 回答 1

0

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

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

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

于 2013-01-26T21:09:55.903 回答