Hello Adam, thank you very much. I tried both solutions and they both work for me :)
Regards, Robert On Tue, 18 Mar 2008 22:04:01 +0100, Adam Batkin <[EMAIL PROTECTED]> wrote: > It appears that Java ignores your -cp (or -classpath) command line > arguments when you also specify -jar. In your case, only the jar > application.jar is on the classpath, qtjambi.jar is ignored. > > The solution is either to package everything into a giant JAR (with > relevant manifest so that you just do "java -jar giantjarfile.jar", OR > don't use -jar and instead list everything explicitly on the classpath > (and list the main class name on the command line): > java -cp qtjambi.jar;application.jar com.foo.some.Application > > Hope this helps, > > -Adam Batkin _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
