Eclipse似乎无法启动嵌入式浏览器。
Eclipse中的anwser不能加载SWT库不会有帮助,因为我甚至没有/usr/lib/jni文件夹。
同样,sudo find/usr/lib/-name“swt*”不返回任何结果。
我想我可能遗漏了一些swt库,但我不确定是哪一个。
以下是eclipse错误:
org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/lib/mozilla'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/jbochenski/opt/eclipse/configuration/org.eclipse.osgi/bundles/664/1/.cp/libswt-mozilla-gtk-4333.so: libxpcom.so: cannot open shared object file: No such file or directory
no swt-mozilla-gtk in java.library.path
/home/jbochenski/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4333.so: libxpcom.so: cannot open shared object file: No such file or directory
Can't load library: /home/jbochenski/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
)
at org.eclipse.swt.SWT.error(SWT.java:4423)
at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:2024)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:701)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
at org.eclipse.jst.common.project.facet.ui.libprov.user.internal.DownloadLibraryWizardLicensePage.createControl(DownloadLibraryWizardLicensePage.java:56)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
at org.eclipse.jface.window.Window.create(Window.java:432)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
at org.eclipse.jface.window.Window.open(Window.java:791)
at org.eclipse.jst.common.project.facet.ui.libprov.user.internal.DownloadLibraryWizard.open(DownloadLibraryWizard.java:102)
at org.eclipse.jst.common.project.facet.ui.libprov.user.UserLibraryProviderInstallPanel$4.widgetSelected(UserLibraryProviderInstallPanel.java:194)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsPropertyPage.handleFurtherConfigHyperlinkEvent(FacetsPropertyPage.java:533)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsPropertyPage.access$5(FacetsPropertyPage.java:491)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsPropertyPage$7.linkActivated(FacetsPropertyPage.java:476)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/jbochenski/opt/eclipse/configuration/org.eclipse.osgi/bundles/664/1/.cp/libswt-mozilla-gtk-4333.so: libxpcom.so: cannot open shared object file: No such file or directory
no swt-mozilla-gtk in java.library.path
/home/jbochenski/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4333.so: libxpcom.so: cannot open shared object file: No such file or directory
Can't load library: /home/jbochenski/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:2009)
... 62 more
我可以通过安装libwebkitgtk-1.0-0来运行它--正如Ubuntu 12.04中Open eclipse juno中的建议,错误为“no more handles...”
当我为第一个实体(customer1)创建数据时,数据创建成功了,但当我要为第二个实体创建数据时,Im会出现以下错误。我们在两个不同的包中生成这两个实体,它们的表注释名不同,所以我不明白为什么我会出现这个错误。我们还为每个实体创建不同的持久性单元名称...这个错误的原因是什么? 错误在提交中 异常[EclipseLink-4002](Eclipse Persistence Services-2.3
我试图让Eclipse 4.11.0在我的RHEL6.10系统上运行,但当我试图运行它时,它崩溃了。它将我指向一个日志文件,该文件声明: ...UnsatisfiedLinkError org.eclipse.swt.internal.gtk.os._cachejvmptr()V 但是该目录中唯一的文件是libswt-pi3-gtk-4924r25。所以 我还找到了libswt-pi3-gtk-4
我正在尝试构建一个包,以便在eclipse之外运行我的SWT应用程序。 在linux下,我成功地在bash下运行。但是当我尝试在windows下运行时,我收到以下错误: C: \纳芙林 我已经尝试指定参数-Djava.library.path,将SWT的DLL放在windows,windows/system,windows/system32… 我正在使用以下SWT JAR(随eclipse 32位
问题内容: 在我的Arch Linux,带有Google Window Builder / SWT应用程序的Eclipse上, 我相信我需要安装XULrunner或其他东西。但是当我在Arch中安装时,我得到了。所以我尝试安装。然后,我添加到并且不确定使用哪个。但是当我跑步时,我仍然遇到相同的错误。似乎仍未使用webkit。我怎样才能解决这个问题? 更新2 到目前为止,我尝试安装。然后添加到中,我
问题内容: 每次尝试在Ubuntu 12.04中打开Eclipse时,都会收到“不满意的链接错误”,并且该错误不会打开。我最近安装了Java JDK和Android SDK,这可能是问题吗? 这是日志信息: 我尝试卸载并重新安装,然后删除~/.eclipse目录,但仍然无法正常工作 问题答案: 在我的Ubuntu 12.04 32位上。我将命令编辑为: 并在Ubuntu 12.04 64位上尝试:
每次我尝试在Ubuntu12.04中打开Eclipse时,都会得到一个不满意的链接错误,它将无法打开。我最近安装了java JDK和Android SDK,这会是问题吗?我遵循了这个教程。 我已经尝试卸载和重新安装,并删除目录,但仍然不起作用