[Libreoffice] class not found error

Cedric Bosdonnat cedric.bosdonnat.ooo at free.fr
Wed Mar 2 07:02:07 PST 2011


Hello Zhang,

On Wed, 2011-03-02 at 10:29 +0100, Zongbo Zhang wrote:
> run-single:
> something before callling the bootstrap, to see if the program goes here!
> com.sun.star.comp.helper.BootstrapException: no office executable found!
>         at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:243)
>         at com.example.BimcoLoApp1.main(BimcoLoApp1.java:30)
> +++++++++++++++
> looks like cannot find the office executable, usually what is the cause of this?

Well, that sounds like some path initialization problem. You should have
a look at the code generated by the Eclipse integration: it uses some
code extracted from JODConverter and it works w/o strange path hacks.

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



More information about the LibreOffice mailing list