Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » swt-pi-gtk-3138 error
swt-pi-gtk-3138 error [message #458416] Wed, 13 July 2005 12:39 Go to next message
Eclipse UserFriend
Originally posted by: mortirolo.netscape.net

Hello,
I wrote an eclipse 3.1 SWT program, but now in standalone mode I get
"java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3138 in java.library.path".
To fix this error I have to put
/opt/eclipse/configuration/org.eclipse.osgi/bundles/140/1/.c p in my
LD_LIBRARY_PATH. Is this correct? Thanks.
Re: swt-pi-gtk-3138 error [message #458419 is a reply to message #458416] Wed, 13 July 2005 12:53 Go to previous message
Billy Biggs is currently offline Billy BiggsFriend
Messages: 94
Registered: July 2009
Member
kamakiriad wrote:
> Hello,
> I wrote an eclipse 3.1 SWT program, but now in standalone mode I get
> "java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3138 in
> java.library.path". To fix this error I have to put
> /opt/eclipse/configuration/org.eclipse.osgi/bundles/140/1/.c p in my
> LD_LIBRARY_PATH. Is this correct? Thanks.

The directory with the libraries must be in the java.library.path.
java -Djava.library.path=/path/to/libs -cp ... MyApp

If you are trying to distribute a standalone SWT application, I would
recommend you get the standalone SWT .zip linked to from
http://www.eclipse.org/swt/ which includes copies of all the .so files
for SWT.

-Billy
Previous Topic:SWT_AWT vs. SwingWT
Next Topic:Sort indicator in table header
Goto Forum:
  


Current Time: Thu Apr 25 00:42:23 GMT 2024

Powered by FUDForum. Page generated in 0.02545 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top