每次尝试在Ubuntu 12.04中打开Eclipse时,都会收到“不满意的链接错误”,并且该错误不会打开。我最近安装了Java JDK和Android SDK,这可能是问题吗?
这是日志信息:
!SESSION 2012-04-15 21:05:46.902 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2012-04-15 21:05:47.885
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-3740 in java.library.path
no swt-gtk in java.library.path
Can't load library: /home/tom/.swt/lib/linux/x86_64/libswt-gtk-3740.so
Can't load library: /home/tom/.swt/lib/linux/x86_64/libswt-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:153)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:95)
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:344)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
我尝试卸载并重新安装,然后删除~/.eclipse目录,但仍然无法正常工作
在我的Ubuntu 12.04 32位上。我将命令编辑为:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/
并在Ubuntu 12.04 64位上尝试:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/
每次我尝试在Ubuntu12.04中打开Eclipse时,都会得到一个不满意的链接错误,它将无法打开。我最近安装了java JDK和Android SDK,这会是问题吗?我遵循了这个教程。 我已经尝试卸载和重新安装,并删除目录,但仍然不起作用
编辑:这是我的swt.jar的清单,它在lib文件夹中
我到处找答案,连续找了两个小时,结果就这么多了。救命?
问题内容: 我正在使用 eclipse juno 使用 maven (m2eclipse插件)运行其他人的Java代码。但是我收到以下消息: 在官方网站上,我找到了针对此问题的以下修复程序: 所以我将slf4j-simple.jar复制到 “ C:\ Program Files \ Java \ jdk1.7.0_07 \ lib”中 。但是我仍然遇到错误。 请指导我什么是正确的解决方案。我是Ja
如何将TextEditor与某个文件关联?(Eclipse-插件开发) 我喜欢下面,但有错误,我无法理解。我看过文件 null
预期行为 应该可以通过Run As->TestNG启动测试;还应该能够为TestNG添加新的运行配置 实际行为 插件org.testng.eclipse无法加载类org.testng.eclipse.launch.testngtabgroup。异常:org.eclipse.core.runtime.core异常:插件org.testng.eclipse无法加载类org.testng.eclipse