当我尝试在 Windows XP 上启动 Eclipse Indigo 时,出现错误,提示器告诉我转到日志文件。
显然,它抛出了org.osgi.framework.BundleException
:
!ENTRY org.eclipse.ui.ide 4 0 2012-02-01 11:17:19.301 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.stop() of bundle org.eclipse.ui.ide. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:791) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:565) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1161) at
...
有人知道如何解决这个问题吗?我相信它停止工作是因为我尝试了 Java 路径,试图将项目移植到 Blackberry 模拟器上。
但是我尝试将路径设置为正确的值,但没有成功。
我什至将新版本的 Eclipse 安装到另一个目录中,但问题并没有消失。
最佳答案
来自http://www.javalobby.org/java/forums/t92895.html (如 indicated by Banana Man in the comments ):
Put the unzipped "eclipse" folder under c drive. Create a shortcut of "eclipse.exe". In the target, put this:
C:\eclipse\eclipse.exe -vm "C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe"
Note - "C:\Program Files\Java\jre1.5.0_11\bin\javaw.exe" is where your jre is installed at. You can change this path to match your your jre path.
In the start in, I have this: C:\eclipse
关于java - Eclipse 在启动时抛出 org.osgi.framework.BundleException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9099358/