[Libreoffice] class not found error

Zongbo Zhang zzh at bimco.org
Wed Mar 2 01:29:27 PST 2011


Hi All,

Trying my first officeUNOclient app, got an 'no office executable' error:
++++++++++++++++++++++++++++++++++++++++++++++++++++
Deleting: \\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.properties<file://\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.properties>
deps-jar:
Updating property file: \\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.properties<file://\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\built-jar.properties>
Compiling 1 source file to \\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\classes<file://\\nike\homefolder$\zzh\NetBeansProjects\OfficeUNOClientAppBim1\build\classes>
compile:
run:
Exception in thread "main" java.lang.ClassNotFoundException: com.example.OfficeUNOClientAppBim1
        at com.sun.star.lib.loader.Loader$CustomURLClassLoader.findClass(Loader.java:365)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at com.sun.star.lib.loader.Loader$CustomURLClassLoader.loadClass(Loader.java:376)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at com.sun.star.lib.loader.Loader.main(Loader.java:141)
Java Result: 1
+++++++++++++++++++++++++++++++++++++++++++++++
run the file contains 'main',
++++++++++++++
compile-single:
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?


BR
zongbo zhang


More information about the LibreOffice mailing list