GWT Designer - Could not load SWT library

66 views
Skip to first unread message

Magnus

unread,
Dec 15, 2012, 6:53:50 PM12/15/12
to google-we...@googlegroups.com
Hi,

when trying to open a UIBinder file in "design" view, it fails and I get this error in eclipse error log:

Internal browser is not available: No more handles [MOZILLA_FIVE_HOME='/usr/lib/iceweasel'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/wagner/.eclipse/org.eclipse.platform_4.2.0_1473617060/configuration/org.eclipse.osgi/bundles/1126/1/.cp/libswt-mozilla-gtk-4234.so: libxpcom.so: cannot open shared object file: No such file or directory
no swt-mozilla-gtk in java.library.path
/home/wagner/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4234.so: libxpcom.so: cannot open shared object file: No such file or directory
Can't load library: /home/wagner/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
)

I found the missing file "libxpcom.so" multiple times:

$ locate libxpcom.so
/usr/lib/iceape/libxpcom.so
/usr/lib/icedove/libxpcom.so
/usr/lib/iceowl/libxpcom.so
/usr/lib/xulrunner-1.9.1/libxpcom.so
/usr/lib/xulrunner-devel-1.9.1/sdk/lib/libxpcom.so
/usr/lib32/xulrunner/libxpcom.so

I tried some workarounds found on the net, e. g. modifying the shell variables MOZILLA_FIVE_HOME and LD_LIBRARY_PATH, but without success.

How can I tell eclipse where to find the file?

Thanks
Magnus
Reply all
Reply to author
Forward
0 new messages