Eclipse IDE Linux X11 startup error

If you receive the following error when starting the Eclipse IDE on linux, then your system will probably be missing a X11 library.

java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3550 or swt-pi-gtk in swt.library.path, java.library.path or the jar file

If using slackware the problem can be caused by not having the libXtst package.

If you are having trouble finding the missing library, use the following command to show all attempts to open libraries when eclipse starts up:

strace ./eclipse 2>&1 | grep open | more

Last updated: 03/02/2010