Waldemar Wittmann wrote:
> On my Ubuntu 8.04 System, the Application Starts with:
>
> java -cp
> qtjambi-4.4.0_01.jar:qtjambi-linux32-gcc-4.4.0_01.jar:qtjambi-linux64-gcc-4.4.0_01.jar:qtjambi-macosx-gcc-4.4.0_01.jar:qtjambi-win32-msvc2005-4.4.0_01.jar:qtjambi-win64-msvc2005x64-4.4.0_01.jar:RBRSMAB_Visualization.jar
> visu.Start
>
In addition to your own classes, you should only put
qtjambi-4.4.0_01.jar and the .jar file specific to the current platform
on the classpath.
E.g. if you are running on Linux, you would type:
java -cp
qtjambi-4.4.0_01.jar:qtjambi-linux32-gcc-4.4.0_01.jar:RBRSMAB_Visualization.jar
visu.Start
> The command: java -jar RBRSMAB_Visualization.jar
>
You need to have Qt Jambi in your classpath in order for Java to find
the correct classes. For executable .jar files this is done by editing
the manifest file. Please read Sun's documentation for deploying
applications as executable .jar files.
> And on Windows XP 32 bit no of the both command works.
>
When specifying the classpath on Windows, you should give it the
Windows-specific .jar file, and you need to separate the classpath using
semicolons rather than colons.
java -cp
qtjambi-4.4.0_01.jar;qtjambi-win32-msvc2005-4.4.0_01.jar;RBRSMAB_Visualization.jar
visu.Start
Hope that helps.
-- Eskil
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest