I have set the classpath it didn't work.
I am trying to do dawnload of OpenOffice SDK API from
htt
p://download.openoffice.org/2.0.0/source.html.
But the server isn't available.
Thank
Jürgen Schmidt wrote:
>
> 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
>
>
>
--
View this message in context: http://www
.nabble.com/Re%3A--api-dev--Problem-to-connect-openoffice-vi
a-Tomcat-tf2297539.html#a6394027
Sent from the openoffice - api dev mailing list archive at
Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|