Hi Harald, > I think putting <yourpathToOpenOfficeInstallaton>/program on your $path > variable should help.
thanks, but it does not. Greetings, Tobias > > Cheers > Harald > > Tobias Krais schrieb: >> Hi again, >> >> I want to use first time the office beans, but it does not work. As soon >> as I want to use the css.comp.beans.OOoBean.loadFromURL(url, null) >> method I get the following error: >> -----%<----- >> Exception in thread "main" java.lang.UnsatisfiedLinkError: no officebean >> in java.library.path >> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) >> at java.lang.Runtime.loadLibrary0(Runtime.java:823) >> at java.lang.System.loadLibrary(System.java:1030) >> at >> com.sun.star.lib.util.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:72) >> >> at >> com.sun.star.comp.beans.LocalOfficeConnection.<clinit>(LocalOfficeConnection.java:153) >> >> at com.sun.star.comp.beans.OOoBean.getOOoConnection(OOoBean.java:288) >> at >> com.sun.star.comp.beans.OOoBean.getMultiServiceFactory(OOoBean.java:308) >> at com.sun.star.comp.beans.OOoBean.loadFromURL(OOoBean.java:578) >> at >> de.designtouse.oobean.OOoSwtViewer.setDocument(OOoSwtViewer.java:31) >> at de.designtouse.oobean.OOoSwtSnippet.main(OOoSwtSnippet.java:55) >> -----%<----- >> I tried this in Eclipse and added the officebean.jar to the build path >> as I did with the ridl.jar, ... . >> >> After searching the web I saw, that the OO css.lib.loader.Loader class >> should add the officebean.jar automatically. So I tried to create a >> fitting jar, but it loads all needed jars out of the officebean.jar. >> >> Thus my question is: >> 1. How can I configure Eclipse to load the officebean correctly? >> 2. I can I tell the css.lib.loader.Loader to load the officebean? >> >> Greetings, Tobias >> >> --------------------------------------------------------------------- >> 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]