[Kde-java] java.lang.UnsatisfiedLinkError: no qtjava in java.library.path ?

Lukas Molzberger lukas.molzberger at gmx.de
Wed Aug 18 14:01:39 CEST 2004


Hi,
I had the same problem and the solution was to add /opt/kde3/lib to my 
LD_LIBRARY_PATH.  So just call:

export LD_LIBRARY_PATH= /opt/kde3/lib before you call kscribble and then it 
should work.

Cheers
Lukas

Am Mittwoch, 18. August 2004 13:56 schrieb E.L. Willighagen:
> Hi all,
>
> I've been playing a bit with the KDE bindings on Debian (testing)...
>
> ii  kdebindings-java                3.2.3-1                         KDE
> Java bindings metapackage
> ii  libkde3-java                    3.2.3-1                         kdelibs
> bindings for Java
> ii  libqt3-java                     3.2.3-1                         Java
> bindings for Qt
>
> And tried the example in /usr/share/doc/libkde3-java/examples/kscribble
>
> I compiled it succesfully with:
>
> # javac -classpath /usr/share/java/qtjava.jar:/usr/share/java/koala.jar
> *.java
>
> But running the application does not work:
>
> #  java -cp /usr/share/java/qtjava.jar:/usr/share/java/koala.jar:. Main
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no qtjava 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.kde.qt.qtjava.initialize(qtjava.java:272)
>         at org.kde.qt.qtjava.<clinit>(qtjava.java:283)
>         at Main.<clinit>(Main.java:74)
>
> I could not find anything usefull on Google...
>
> Ideas?
>
> Egon
>
> BTW, great to see that the java bindings are now available for Debian!


More information about the Kde-java mailing list