首页 > 代码库 > [Ubuntu]常见错误

[Ubuntu]常见错误

1.eclipse安装启动错误,

  cat log.

  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/zhong/.swt/lib/linux/x86_64/libswt-gtk-3740.so
        Can‘t load library: /home/zhong/.swt/lib/linux/x86_64/libswt-gtk.so

  解决方法:

  cp /home/xyz/.swt/libswt-*3740.so home/hadoop/.swt/lib/linux/x86/  或者从其他目录。

[Ubuntu]常见错误