aloizio wrote:
> Hi everybody,
>
> I am trying to load the OpenOffice using
> com.sun.star.comp.helper.Bootstrap.bootstrap(), frrom
web application. But I
> am get the error:
>
> "no executable office found...."
>
> What should I do?
you have to set the classpath to
<office>/program/classes or you have to
pack the necessary bootstrap glue code from the SDK to
your
application and edit the manifest accordingly. But i am not
sure if it
works in the case of your web app. It was more designed for
a Java
client applications to simple bootstrap UNO.
Please let me know if it works.
Another way would be to implement your own classloader and
specify the
path to the office. The classloader prepares the necessary
environment.
It's more or less comparable with the bootstrap glue code.
Hope this helps
Juergen
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|