eclipse启动不了 ?

发布于 2022-09-30 07:48:07 字数 9961 浏览 13 评论 0

这时configuration下的error log 文件

eclipse.buildId=I200405211200
java.fullversion=GNU libgcj 3.4.3 20050227 (Red Hat 3.4.3-22.1)
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=zh_CN
!ENTRY System Bundle 0 0 11月 30, 2005 19:12:17.356
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(org.osgi.framework.BundleActivator) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(org.eclipse.osgi.framework.internal.core.AbstractBundle[], boolean) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(int, org.eclipse.osgi.framework.internal.core.AbstractBundle) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(int, org.eclipse.osgi.framework.internal.core.AbstractBundle) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(int) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.SystemBundle.resume() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.Framework.launch() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.OSGi.launch() (Unknown Source)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(java.lang.String[], java.lang.Runnable) (Unknown Source)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(java.lang.String[], java.lang.Runnable) (Unknown Source)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
   at org.eclipse.core.launcher.Main.basicRun(java.lang.String[]) (Unknown Source)
   at org.eclipse.core.launcher.Main.run(java.lang.String[]) (Unknown Source)
   at org.eclipse.core.launcher.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.NullPointerException
   at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openConnection(java.net.URL) (Unknown Source)
   at java.net.URL.openConnection() (/usr/lib/libgcj.so.5.0.0)
   at java.net.URL.openStream() (/usr/lib/libgcj.so.5.0.0)
   at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBundle(java.lang.String) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getHeaders(java.lang.String) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders(java.lang.String) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.register(java.lang.String, java.lang.Object) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(org.osgi.framework.BundleContext) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run() (Unknown Source)
   at java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction) (/usr/lib/libgcj.so.5.0.0)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(org.osgi.framework.BundleActivator) (Unknown Source)
   ...16 more
Root exception:
java.lang.NullPointerException
   at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.openConnection(java.net.URL) (Unknown Source)
   at java.net.URL.openConnection() (/usr/lib/libgcj.so.5.0.0)
   at java.net.URL.openStream() (/usr/lib/libgcj.so.5.0.0)
   at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBundle(java.lang.String) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getHeaders(java.lang.String) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders(java.lang.String) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.register(java.lang.String, java.lang.Object) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(org.osgi.framework.BundleContext) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run() (Unknown Source)
   at java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction) (/usr/lib/libgcj.so.5.0.0)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(org.osgi.framework.BundleActivator) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(org.eclipse.osgi.framework.internal.core.AbstractBundle[], boolean) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(int, org.eclipse.osgi.framework.internal.core.AbstractBundle) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(int, org.eclipse.osgi.framework.internal.core.AbstractBundle) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(int) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.SystemBundle.resume() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.Framework.launch() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.OSGi.launch() (Unknown Source)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(java.lang.String[], java.lang.Runnable) (Unknown Source)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(java.lang.String[], java.lang.Runnable) (Unknown Source)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
   at org.eclipse.core.launcher.Main.basicRun(java.lang.String[]) (Unknown Source)
   at org.eclipse.core.launcher.Main.run(java.lang.String[]) (Unknown Source)
   at org.eclipse.core.launcher.Main.main(java.lang.String[]) (Unknown Source)
!ENTRY org.eclipse.osgi 11月 30, 2005 19:12:17.436
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(org.eclipse.osgi.framework.internal.core.AbstractBundle[], boolean) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(int, org.eclipse.osgi.framework.internal.core.AbstractBundle) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(int, org.eclipse.osgi.framework.internal.core.AbstractBundle) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(int) (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.SystemBundle.resume() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.Framework.launch() (Unknown Source)
   at org.eclipse.osgi.framework.internal.core.OSGi.launch() (Unknown Source)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(java.lang.String[], java.lang.Runnable) (Unknown Source)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(java.lang.String[], java.lang.Runnable) (Unknown Source)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
   at org.eclipse.core.launcher.Main.basicRun(java.lang.String[]) (Unknown Source)
   at org.eclipse.core.launcher.Main.run(java.lang.String[]) (Unknown Source)
   at org.eclipse.core.launcher.Main.main(java.lang.String[]) (Unknown Source)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

︶葆Ⅱㄣ 2022-10-07 07:48:07

自己装一个jdk吧。

む无字情书 2022-10-07 07:48:07

我装了jdk1.5啊
不过我输入 java -version时还是1.4.2
怎么改过来?

半枫 2022-10-07 07:48:07

俺直接把jdk1.5.0下的jre复制到/opt/eclipse下就好了,呵呵!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文