Start OpenOffice from java

Joined
May 9, 2007
Messages
1
Reaction score
0
Points
1
hi,

i have a java program in eclipse who works perfect on Linux and windows.
Now i am testing the program on Mac OS 10.4.9 and i get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: createJNI
at com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Native Method)
at com.sun.star.lib.connections.pipe.PipeConnection.<init>(PipeConnection.java:137)
at com.sun.star.lib.connections.pipe.pipeConnector.connect(pipeConnector.java:145)
at com.sun.star.comp.connections.Connector.connect(Connector.java:146)
at com.sun.star.comp.urlresolver.UrlResolver$_UrlResolver.resolve(UrlResolver.java:133)
at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:292)

i've searched on the internet but i can't find a working solution. Can someone help me with this problem. this problem occurs on the following code line (95):

(94) com.sun.star.uno.XComponentContext xContext = null;
(95) xContext = com.sun.star.comp.helper.Bootstrap.bootstrap();
(96) xMCF = xContext.getServiceManager();

thx in advance...

grtzzz,
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top