Hi,

it's a known problem. The code have to be extended to find the default office on MacOS. But it's still not fixed and of course i am not sure if there exists already an issue or it. Feel free to submit an issue for this problem. Or fix the code in the glue code that was generated by NetBeans. I am still looking for a more reliable and better solution that can be reused in several places.

Anyway you can run the program with

java -Dcom.sun.star.lib.loader.unopath="/Applications/OpenOffice.org.app/Contents/MacOS" -jar your App.jar ...

Juergen

On 5/31/10 8:06 PM, Andreas Mantke wrote:
Hi all,

Andre Schnabel and I created a java application with Netbeans and its OOo-
Plugin. This java app works fine on Windows, Linux and Solaris. The app uses
the UNO-API to get an running OOo and exports documents to PDF.

But if our testers try to run the java app on Mac OS X 10.3.x (Intel), they
get back the error message:
<com.sun.star.lib.loader.Loader::getCustomLoader: no UNO
installation found!>

It seemed that the connection via the UNO-API on MacOS X (Intel) is broken.

We use no special code for the bootstrap of OOo. We use the code that is
created from the OOo-Plugin for Netbeans.

You can find the source code of the java application (OOoPDFConverter) here:
http://ooopdfconverter.svn.sourceforge.net/viewvc/ooopdfconverter/
The three source files are in this folder:
http://ooopdfconverter.svn.sourceforge.net/viewvc/ooopdfconverter/src/net/sourceforge/OOoPDFConverter/

If you want to checkout the project files, you can do it with:
svn co https://ooopdfconverter.svn.sourceforge.net/svnroot/ooopdfconverter
ooopdfconverter
(one line)

Is there a solution or a workaround available?

Regards,
Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to