解决ubuntu12.04下eclipse3.7启动问题--Could not load SWT library
来源:互联网 发布:淘宝买家v4算星级高吗 编辑:程序博客网 时间:2024/05/16 07:41
Eclipse version:
eclipse-jee-juno-SR2-linux-gtk-x86_64.tar.gz
Error log:
========================================================================
!SESSION 2013-05-22 14:11:50.346 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_35
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2013-05-22 14:11:51.664
!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/cacy64/.swt/lib/linux/x86_64/libswt-gtk-3740.so
Can't load library: /home/cacy64/.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: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: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)
====================================================================
Solution:
64bit system:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64
32bit syste:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86
- 解决ubuntu12.04下eclipse3.7启动问题--Could not load SWT library
- ubuntu 14.0安装eclipse启动报错Error:Could not load SWT library的问题
- Ubuntu下安装eclipse的Could not load SWT library问题
- Ubuntu下安装eclipse的Could not load SWT library问题
- Ubuntu下安装eclipse后,打开报错 Could not load SWT library
- java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons解决方法
- ubuntu10.10下内核编译,解决开机启动出现Could not load /lib/modules/.../modules.dep的问题
- 使用Indy解决Could not load SSL Library错误
- ubuntu 12.04 x86_64:java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons
- Centos7安装Eclipse报错: Could not load SWT library以及No more handles [gtk_init_check() failed]
- Centos 安装Eclipse报错java.lang.UnsatisfiedLinkError: Could not load SWT library
- dlopen failed: could not load library 的问题
- 解决Opentaps/OFBiz在Eclipse启动时"Could not load VFS configuration"的问题
- could not load library libopencv_java.so
- Ubuntu12.04配置vnc远程桌面,解决Could not acquire name on session bus问题
- 解决ubuntu12.04下Haproxy不启动的问题
- xcode : could not load inserted library: /usr/lib/libgmalloc.dylib 的解决
- xcode : could not load inserted library: /usr/lib/libgmalloc.dylib 的解决
- 点击单选按钮radio后面的文字即可选中单选按钮
- swing 程序 pos 开钱箱
- 启动java并得到当前进程的pid
- PHP正则提取或替换img标记属性
- ImageViewLoader学习
- 解决ubuntu12.04下eclipse3.7启动问题--Could not load SWT library
- 消除关于.NET的四个误解
- webkit内核源代码导读2: FrameLoader的初步分析
- How to select different app.config for several build configurations
- SGU142 Keyword
- Android 开发常用代码片段
- 1.2 JavaScript流程控制
- dudu kan
- PHP超全局变量:$_SERVER