Hi Werner,
mmh, no that is a hack and i don't want to have it documented in the
wiki (i will remove it). Anyway, thanks for your commitment and please
don't misunderstand me your feedback is valuable.
Your described scenario is wrong, the pre-build classes from the SDK are
packed in the application jar file and the necessary manifest entries
are inserted. If it won't work with a default OO.org installation the
only useful and correct hint is to specify the VM option
-Dcom.sun.star.lib.loader.unopath="/usr/lib/openoffice/program"
anything else shouldn't be necessary. If the bootstrap glue code is not
packed into your application jar, try the latest version and the latest
SDK and office. If it still doesn't work please submit an issue.
Juergen
Werner Schulte wrote:
Hi Juergen.
I finally found a "solution" and posted the result into the OO Wiki.
http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration
Thanks anyway
Werner
Juergen Schmidt wrote:
Hi Werner,
from where do you get the office installation? I remember that we have
had problems with distro builds of OpenOffice where the bootstrap
mechanism doesn't work because of some magic system integration stuff
of the distros. But i thought that these problems was solved at least
for Debian ...
Office : 2.0.4 from the Debian repositories. The same applies for the
developer packages.
Netbeans was downloaded from netbeans.org !
Mmh, you can try to create a link /usr/bin/soffice ->
/opt/openoffice.org2.0.4/program/soffice (or something else matching
your installation) and try it again. Please let us know if it works
then or not.
The link already exists in debian.
This is not really satisfying but we can't prevent it and of course it
limits the attraction of the simple bootstrap mechanism. It doesn't
work reliable.
Juergen
Werner Schulte wrote:
Hi all.
I want to use the Netbeans OO plugin to start learning writing Java
Extensions for OO.
I have the
- Netbeans 5.5.1 IDE
- OO 2.0.4
- OO 2.0.4 SDK
all running on Debian Linux (4.0).
I am able to create a new OO client application using the wizard, but
Netbeans does NOT start
the application. Instead I get the error message
com.sun.star.comp.helper.BootstrapException: no office executable found!
at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java)
at
org.openoffice.OfficeUNOClientApp.main(OfficeUNOClientApp.java:29)
.
When I start the Test Application from the console (out of the jar),
it the XComponentContext is found.
Any help would be appreciated !
Thanks
Werner
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]