Thanks, Stephan, I forgot this.

But this should be considered by the installer of OOo (or the custom classloader com.sun.star.lib.loader.Loader) to allow loading of officebean.jar (and possibly other jars), shouldn't it? Otherwise each officebean-utilizing application must explicitly deploy officebean.jar with itself.

Thanks again,
Jozsef

Stephan Bergmann wrote:
Marton Jozsef wrote:
[EMAIL PROTECTED]:$ java -cp /usr/lib/openoffice/program/classes/officebean.jar:. -jar test1.jar Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/star/comp/beans/NoConnectionException

See <http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html> for a documentation of java -jar: "When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored."

RTFM :)

-Stephan

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

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

Reply via email to