Unsatisfied Link Error and missing .so files when starting Eclipse

Posted by Keidax on Ask Ubuntu See other posts from Ask Ubuntu or by Keidax
Published on 2012-04-25T19:41:44Z Indexed on 2012/10/21 5:27 UTC
Read the original article Hit count: 412

Filed under:
|
|

I upgraded to the 12.04 beta yesterday. Now, when I try to start Eclipse, I get the splash screen and then this error message:

An error has occurred. See the log file /home/gabriel/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1335382319394.log .

The log file says something like this:

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

followed by many more error messages.

The /home/gabriel/.swt/lib/linux/x86_64/ directory exists, but is empty. I also tried reinstalling eclipse with no success.

Any ideas?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about java