Some time ago my friend wrote an application using qtjambi. When I had
Ubuntu 7.10 everything worked fine and I could use it. After updating
ubuntu to 8.04 something changed and I can't use this application any
more. When I try to run it using "java -classpath
/usr/lib/qtjambi/qtjambi.jar:bin pl.swmud.ns.swaedit.gui.SWAEdit"
(/usr/lib/qtjambi/ is where I have my qtjambi and that's the way it
worked when I had ubuntu 7.10) I receive this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary()V
at
com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary(Native
Method)
at
com.trolltech.qt.core.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:10)
at
com.trolltech.qt.core.QAbstractFileEngineHandler.<clinit>(QAbstractFileEngineHandler.java:10)
at
com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:29)
at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:29)
I receive the same error when I try to run qtjambi.sh in the qtjambi
dir. designer.sh works fine.
I have qtjambi-linux32-gpl-4.3.4_01 from trolltech page
My QT version: 4.3.4
Java version:
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
Thanks for any help!
Maciej 'Ganis' Strzelczyk
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest