Hi Jennifer,

You need to insert the full qualified (!) filenames into the CLASSPATH:

unoil.jar
sandbox.jar
ridl.jar
jurt.jar
juh.jar

Full qualified means that you have to insert the complete path to the staroffice8/program/classes/ folder for each file. No wildcards allowed.

This should prevent you from the error described below.

HTH
Dieter

Jennifer Palm-Ensign wrote On 02/12/07 21:17,:
Hello,

Pardon me if this not the right list for this question. But I'll give this a try: I am developing an application on OpenOffice on a Win system, am testing to see if the .jar can connect to star office on Solaris on a remote test system that mounts staroffice
from NFS.

I get the below pasted error and would like to know:
1) Is it okay to be connecting to a mounted version like this
(presumably these NFS versions are for people to use as clients on their workstations) 2) If so, can someone point me to how to properly point my little application to a remote
instance of soffice, like how to get the classpath right in this case?
3) Should I just install OpenOffice on the test/development server?

command: java -classpath /usr/dist/share/staroffice,v8.3 -jar MyOfficeUNOClientApp.jar
com.sun.star.lib.loader.Loader::getCustomLoader: no UNO installation found!
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/star/lang/XComponent
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
        at java.lang.Class.getMethod0(Class.java:1901)
        at java.lang.Class.getMethod(Class.java:984)
        at com.sun.star.lib.loader.Loader.main(Loader.java:142)

Thank you,
Jennifer Palm-Ensign

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


--

  Dieter Krogh
  Software TSC Engineer StarOffice

  Global Sales and Services  Tel:  (+49 40) 23646-744 / x66744
  Sun Microsystems GmbH      Fax:  (+49 40) 23646-750
  Sachsenfeld 4              http://www.sun.de
  D-20097 Hamburg            mailto:[EMAIL PROTECTED]

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

Reply via email to