java - Eclipse 在启动时抛出 org.osgi.framework.BundleException

标签 java eclipse

当我尝试在 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/

相关文章:

java - 我在哪里可以找到 Eclipse 中 J2EE 应用程序的类路径

eclipse - m2e - 将 Maven 插件添加到 Mule Studio 时缺少通过 logback 日志记录(可选)的 slf4j

java - 声明子类对象

java - 定序器接收器时间戳始终输出-1

java - 数据行与正则表达式模式不匹配

java - SSIS:通过 Linux 将 ispac 转换为 dtsx 或以编程方式提取文件

java - Java 中 ORACLE 函数 MONTHS_BETWEEN 的模拟

java - org.eclipse.jdt.core.dom.AST 的 API 使用示例

javascript - 如何为 Eclipse 安装 JavaScript 编辑器?

java - 为什么 Eclipse 不记得我的启动配置?