LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   no swt-pi-gtk-3138 in java.library.path (https://www.linuxquestions.org/questions/linux-software-2/no-swt-pi-gtk-3138-in-java-library-path-403407/)

vlaspld 01-14-2006 05:28 PM

no swt-pi-gtk-3138 in java.library.path
 
I have installed Java and Azureus software, but when I start the application I see the following error:

Code:

webserver# /usr/local/bin/azureus
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3138 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Unknown Source)
        at org.gudy.azureus2.ui.swt.Main.<init>(Unknown Source)
        at org.gudy.azureus2.ui.swt.Main.main(Unknown Source)

I have already unjar the
Code:

org.eclipse.swt.gtk.freebsd.x86_3.1.0
but now I have to set this location in the
Code:

java.library.path
but my question is how?

I am using FreeBSD 6

Thanks in advance

vlaspld 01-15-2006 06:57 AM

have anyone a idea?

kurtrisser 07-24-2006 11:44 AM

If it is native code, try putting it in /usr/java/jdk1.5.0_07/jre/lib/i386/client/ or the equivalent on your system.


All times are GMT -5. The time now is 03:29 PM.