您好我已经在ubuntu 10.10版上安装了IBM RAD。但是,当我尝试启动该程序时,它会给出一条错误消息。“发生错误。请参阅日志文件home / user / workspace / .metadata / .log”并且日志文件位于下方。
你能帮我解决这个问题吗?
!SESSION 2011-02-04 18:44:13.052 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr5ifx-20090821_41076 (JIT enabled, AOT enabled)
J9VM - 20090821_041076_lHdSMr
JIT - r9_20090518_2017
GC - 20090417_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=tr_TR
Framework arguments: -product com.ibm.rational.rad.product.v75.ide
Command-line arguments: -os linux -ws gtk -arch x86 -product com.ibm.rational.rad.product.v75.ide
!ENTRY org.eclipse.ui 2 0 2011-02-04 18:44:16.246
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2011-02-04 18:44:16.246
!MESSAGE Could not parse key sequence: plug-in='com.ibm.etools.siteedit.editor', id='com.ibm.etools.siteedit.edit.navigation.label', keySequence='Shift+F3'
!ENTRY org.eclipse.osgi 4 0 2011-02-04 18:44:19.768
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -2147467262
at org.eclipse.swt.browser.Mozilla.error(Unknown Source)
at org.eclipse.swt.browser.Mozilla.setText(Unknown Source)
at org.eclipse.swt.browser.Browser.setText(Unknown Source)
at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.generateContentForPage(Unknown Source)
at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.dynamicStandbyStateChanged(Unknown Source)
at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.doStandbyStateChanged(Unknown Source)
at org.eclipse.ui.internal.intro.impl.model.AbstractIntroPartImplementation.standbyStateChanged(Unknown Source)
at org.eclipse.ui.internal.intro.impl.model.IntroPartPresentation.standbyStateChanged(Unknown Source)
at org.eclipse.ui.intro.config.CustomizableIntroPart.standbyStateChanged(Unknown Source)
at org.eclipse.ui.internal.ViewIntroAdapterPart$2.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at org.eclipse.ui.internal.ViewIntroAdapterPart.setStandby(Unknown Source)
at org.eclipse.ui.internal.WorkbenchIntroManager.setIntroStandby(Unknown Source)
at org.eclipse.ui.internal.WorkbenchIntroManager.showIntro(Unknown Source)
at org.eclipse.ui.internal.WorkbenchWindow$20.runWithException(Unknown Source)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Unknown Source)
at org.eclipse.ui.internal.Workbench$27.runWithException(Unknown Source)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
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)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
答案 0 :(得分:0)
这是初始工作区的.log文件中的SWT错误。
安装xulrunner:
sudo apt-get install xulrunner
编辑你的eclipse.ini并添加下一行:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner
答案 1 :(得分:0)
我也遇到了这个SWT问题。安装以下软件包解决了我的问题:
sudo apt-get install libwebkitgtk-1.0-0