Hi Kay,

Kay Ramme - Sun Germany - Hamburg wrote:

AFAIK the classes in a jar copied to OOo's "program/classes" should be resolvable.

Having a fresh install of OOo 2.0.4 (Windows, German) copying a self-built jar ("oorexx-uno.jar") to OOo's "program/classes" dir seems to be not searched for Java classes.

Adding that jar to OOo via "Options -> Java -> Class Path -> Add archive" makes it work!

Is this a bug or a feature of 2.0.4 or just a plain misunderstanding on my part?
All jar files in program/classes are referenced explicitly. There is AFAIK no generic option e.g. as LD_LIBRARY_PATH for class files. So, adding your jar file to the user classpath is the right thing.

All jars files in <jre>/lib/ext are added to the CLASSPATH automatically, having something similar in OOo would be nice.

Regards,
Oliver

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

Reply via email to