Hi Arthur,

>> I added the loader classes to my jar and a manifest file looking like
>> this:
>> -----%<----
>> Main-Class: com.sun.star.lib.loader.Loader
>> Name: com/sun/star/lib/loader/Loader.class
>>
>> Application-Class: de.twc.oocom.OOCom
>> Application-Name: de/twc/oocom/OOCom.class
>> -----%<-----
> 
> Setting the environments variables $OO_SDK_HOME and $OFFICE_HOME should
> hopefully work.

it does. Formerly I tried:
-----%<-----
/usr/lib/j2se/1.4/bin/java -classpath
/opt/openoffice.org2.1/program:/opt/openoffice.org2.1/program/classes/juh.jar:/opt/openoffice.org2.1/program/classes/jurt.jar:/opt/openoffice.org2.1/program/classes/ridl.jar:/opt/openoffice.org2.1/program/classes/unoil.jar
-jar /home/tobias/Desktop/TWC/Programmierung/Ergebnisse/oocom-ng.jar ...
-----%<-----
but that did not work out. Here how it works out:
-----%<-----
 [EMAIL PROTECTED]:~/downloads/DEBS$ /usr/lib/j2se/1.4/bin/java -classpath
/home/tobias/Desktop/TWC/Programmierung/Ergebnisse/oocom-ng.jar:/opt/openoffice.org2.1/program:/opt/openoffice.org2.1/program/classes/juh.jar:/opt/openoffice.org2.1/program/classes/jurt.jar:/opt/openoffice.org2.1/program/classes/ridl.jar:/opt/openoffice.org2.1/program/classes/unoil.jar
de.twc.oocom.OOCom
-----%<-----
This is how it works out. Without using the -jar option the METAFILE
informations are ignored and thus my class detects the correct class
path I want to use.

Thanks for your help.

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to