[Libreoffice] java-application and libreoffice

Cedric Bosdonnat cedric.bosdonnat.ooo at free.fr
Mon Mar 21 02:33:28 PDT 2011


Hello Jochen,

On Fri, 2011-03-18 at 22:04 +0100, Jochen georges wrote:
> Exception in thread "main" java.lang.UnsatisfiedLinkError: 
> com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I
>      at 
> com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Native Method)
>      at 
> com.sun.star.lib.connections.pipe.PipeConnection.<init>(PipeConnection.java:128)
>      at 
> com.sun.star.lib.connections.pipe.pipeConnector.connect(pipeConnector.java:137)
>      at com.sun.star.comp.connections.Connector.connect(Connector.java:141)
>      at 
> com.sun.star.comp.urlresolver.UrlResolver$_UrlResolver.resolve(UrlResolver.java:123)
>      at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:285)
>      at TestOOAPI.<init>(TestOOAPI.java:20)
>      at TestOOAPI.main(TestOOAPI.java:15)
> 
> Can you give me a hint?
> Or is there somewhere a step by step howto for dummies?

Could you please use the connection code from JODConvertor to bootstrap
LO? I have extracted it as a jar here:
http://cgit.freedesktop.org/libreoffice/contrib/ooeclipse/tree/java/lib

This is much more reliable and easier to use!

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



More information about the LibreOffice mailing list