doug brann wrote: > I finally got the awt bridge to build, and there weren't any errors that > I could find. However, when I tried to use it in a test, I got this: > > java.lang.NoClassDefFoundError: com/trolltech/qt/osinfo/OSInfo > at > com.trolltech.research.qtjambiawtbridge.generated.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:9) > at > com.trolltech.research.qtjambiawtbridge.generated.QComponentHostNative.<clinit>(QComponentHostNative.java:11) > at elsetplot.MainWindow.plotData(MainWindow.java:394) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at
This error suggests you may have mixed the version of qtjambi-awtbridge and qtjambi ? You should be using the JARs you built recently, not just replacing the awtbridge JAR in your project. So will be at least 2 JARs from the qtjambi project and 1 JAR from qtjambi-awtbridge. The OSInfo class was moved into a package on its own to follow classloading and OSGi rules that each package must belong to 1 JAR. This is due to Qt Jambi having a qtjambi-util.jar that contains this class. I do not know the reason why the project was organised like this, I think it maybe something to do with the class being used by multiple parts. Darryl _______________________________________________ Qt-jambi-interest mailing list Qt-jambi-interest@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest