I'm trying to get a web app (web service, to be specific) to bootstrap Open Office, but I'm getting errors:
com.sun.star.comp.helper.BootstrapException: no office executable found!
at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:253)
I looked at the server.log output (Sun Java System App Server), and -Djava.library.path does contain C:\Program Files\OpenOffice.org 2.2\program
I've also tried with:
C:\Program Files\OpenOffice.org 2.2\program
C:\Program Files\OpenOffice.org 2.2\program\classes
C:\Program Files\OpenOffice.org_2.2_SDK\classes
Taking things a little further doesn't yield any new results:
Adding the following to Native Library Path Prefix:
C:\Program Files\OpenOffice.org 2.2\program\juh.jar
C:\Program Files\OpenOffice.org 2.2\program\jurt.jar
C:\Program Files\OpenOffice.org 2.2\program\ridl.jar
C:\Program Files\OpenOffice.org 2.2\program\unoil.jar
C:\Program Files\OpenOffice.org 2.2\program\sandbox.jar
C:\Program Files\OpenOffice.org 2.2\program
Adding the following under "JVM Options" causes the server to hang:
-Dcom.sun.star.lib.loader.unopath="C:\Program Files\OpenOffice.org 2.2\program"
java.lang.NoClassDefFoundError: Files\OpenOffice/org
Exception in thread "main"
I also tried without the quotes:
-Dcom.sun.star.lib.loader.unopath=C:\Program Files\OpenOffice.org 2.2\program
Nothing seems to work.
Anyone work with OOo on the server?