hi,
i have a program who has to start Openoffice from java, and run a macro in openoffice. I have the java program who works on Linux.
But when i try to run it on Mac 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)
at Runmacro.macro(Runmacro.java:95)
The line where i get this error on is the following:
94: com.sun.star.uno.XComponentContext xContext = null;
95: xContext = com.sun.star.comp.helper.Bootstrap.bootstrap();
96: xMCF = xContext.getServiceManager();
hopefully some of you can help me or give me a hint in witch direction i could search.
grtzzz
i have a program who has to start Openoffice from java, and run a macro in openoffice. I have the java program who works on Linux.
But when i try to run it on Mac 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)
at Runmacro.macro(Runmacro.java:95)
The line where i get this error on is the following:
94: com.sun.star.uno.XComponentContext xContext = null;
95: xContext = com.sun.star.comp.helper.Bootstrap.bootstrap();
96: xMCF = xContext.getServiceManager();
hopefully some of you can help me or give me a hint in witch direction i could search.
grtzzz