LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3276|回复: 4

[求助]关于fedora 9下安装Eclipse3.4.1的问题

[复制链接]
发表于 2008-10-22 21:06:05 | 显示全部楼层 |阅读模式
jdk版本为:
[root@localhost ~]# java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode)


eclipse的版本为:
eclipse-SDK-3.4.1-linux-gtk-x86_64.tar.gz

我解压后得到eclipse的目录!
运行目录中的eclipse:
# ./eclipse
出现了eclipse启动画面,提示选择workSpace目录;
指定为/root/workSpace目录(此目录以存在)
当进度条完成后出现一个错误提示:
An error has occurred. See the log file /roo/workSpace/.metadata/.log.

结果我查看log文件显示如下:
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
        at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
        at org.eclipse.swt.widgets.Widget.release(Widget.java:1026)
        at org.eclipse.swt.widgets.Control.release(Control.java:3221)
        at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
        at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
        at org.eclipse.swt.widgets.Control.release(Control.java:3221)
        at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
        at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
        at org.eclipse.swt.widgets.Control.release(Control.java:3221)
        at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
        at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:211)
        at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:466)
        at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1948)
        at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
        at org.eclipse.swt.widgets.Control.release(Control.java:3221)
        at org.eclipse.swt.widgets.Widget.dispose(Widget.java:442)
        at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1893)
        at org.eclipse.swt.widgets.Display.release(Display.java:3083)
        at org.eclipse.swt.graphics.Device.dispose(Device.java:237)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.osgi 4 0 2008-10-23 04:41:20.434
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -2147467262
        at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1638)
        at org.eclipse.swt.browser.Mozilla.setText(Mozilla.java:1861)
        at org.eclipse.swt.browser.Browser.setText(Browser.java:737)
        at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.generateContentForPage(BrowserIntroPartImplementation.java:252)
        at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.dynamicStandbyStateChanged(BrowserIntroPartImplementation.java:451)
        at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.doStandbyStateChanged(BrowserIntroPartImplementation.java:658)
        at org.eclipse.ui.internal.intro.impl.model.AbstractIntroPartImplementation.standbyStateChanged(AbstractIntroPartImplementation.java:249)
        at org.eclipse.ui.internal.intro.impl.model.IntroPartPresentation.standbyStateChanged(IntroPartPresentation.java:443)
        at org.eclipse.ui.intro.config.CustomizableIntroPart.standbyStateChanged(CustomizableIntroPart.java:266)
        at org.eclipse.ui.internal.ViewIntroAdapterPart$2.run(ViewIntroAdapterPart.java:74)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.ViewIntroAdapterPart.setStandby(ViewIntroAdapterPart.java:70)
        at org.eclipse.ui.internal.ViewIntroAdapterPart$1.propertyChanged(ViewIntroAdapterPart.java:55)
        at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:374)
        at org.eclipse.ui.internal.WorkbenchPartReference.fireZoomChange(WorkbenchPartReference.java:539)
        at org.eclipse.ui.internal.PartPane.setZoomed(PartPane.java:349)
        at org.eclipse.ui.internal.PartStack.setZoomed(PartStack.java:1526)
        at org.eclipse.ui.internal.PartSashContainer.zoomIn(PartSashContainer.java:884)
        at org.eclipse.ui.internal.PartSashContainer.childRequestZoomIn(PartSashContainer.java:905)
        at org.eclipse.ui.internal.LayoutPart.requestZoomIn(LayoutPart.java:354)
        at org.eclipse.ui.internal.PartStack.setState(PartStack.java:1501)
        at org.eclipse.ui.internal.WorkbenchPage.setState(WorkbenchPage.java:3872)
        at org.eclipse.ui.internal.WorkbenchPage.toggleZoom(WorkbenchPage.java:3944)
        at org.eclipse.ui.internal.WorkbenchIntroManager.setIntroStandby(WorkbenchIntroManager.java:201)
        at org.eclipse.ui.internal.WorkbenchIntroManager.showIntro(WorkbenchIntroManager.java:136)
        at org.eclipse.ui.application.WorkbenchWindowAdvisor.openIntro(WorkbenchWindowAdvisor.java:173)
        at org.eclipse.ui.internal.ide.application.IDEWorkbenchWindowAdvisor.openIntro(IDEWorkbenchWindowAdvisor.java:458)
        at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:777)
        at org.eclipse.ui.internal.Workbench$22.runWithException(Workbench.java:1041)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

!ENTRY org.eclipse.osgi 2 0 2008-10-23 04:41:20.600
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-23 04:41:20.600
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.apt.pluggable.core_1.0.100.v20080407-1345.jar [86] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-23 04:41:20.600
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-23 04:41:20.600
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-23 04:41:20.600
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-10-23 04:41:20.600
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-23 04:41:20.600
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.compiler.apt_1.0.100.v20080513-1235.jar [88] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-10-23 04:41:20.600
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-10-23 04:41:20.600
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.compiler.tool_1.0.100.v_883_R34x.jar [89] was not resolved.




有没有朋友见过并解决国这个问题?
我在网上查了一下!
有网友在redhat 5下见过这个,说是和firefox有冲突!说是要把firefox升级到3.0就可以了,但是fedora 9自带的firefox就是3.0阿!
请朋友们帮帮我!
                                                                                                             一个才接触linux的郁闷人!
 楼主| 发表于 2008-10-22 21:10:06 | 显示全部楼层
我的fefoda 9 的版本就:
[root@localhost ~]# cat /proc/version
Linux version 2.6.26.5-45.fc9.x86_64 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Sat Sep 20 03:23:12 EDT 2008
回复 支持 反对

使用道具 举报

发表于 2008-11-17 16:47:38 | 显示全部楼层
我用的是jdk 1.6.0 update 7 ,运行eclipse最新版没啥问题
回复 支持 反对

使用道具 举报

发表于 2008-11-23 12:50:54 | 显示全部楼层
Post by zeeler;1909836
我用的是jdk 1.6.0 update 7 ,运行eclipse最新版没啥问题


我用的也是jdk1.6的呀,可是出现和楼主一样的错误信息,这个问题都弄了好几天了,还没解决,郁闷……
回复 支持 反对

使用道具 举报

发表于 2008-11-23 13:12:40 | 显示全部楼层
这种问题应该到eclipse上去提bug...
eclipse 在linux稳定性越来越差。除了系统的自带的eclipse是根据系统环境编译的外,从eclipse网站下载的版本在我的机器上总不能正常使用。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表