<div dir="ltr">Hello everybody,<div><br></div><div>I just tested some of the SDK examples (to find here: <a href="http://api.libreoffice.org/examples/java">http://api.libreoffice.org/examples/java</a>) but especially the SWriter.java and the DocumentHanlder.java.</div>
<div><br></div><div>In Netbeans the SWriter.java runs well, the DocumentHandler.java has no proper Main() to run it in Netbeans directly.</div><div><br></div><div>My Problem is now, I created a jar of the SWriter.java and run it in cmd, but get this error:</div>
<div><br></div><div>*********************************************************************************************************</div><div><br></div><div><div>C:\Users\HasnaouiA\Documents\NetBeansProjects\SWriter\dist>java -jar SWriter.jar</div>
<div><br></div><div>com.sun.star.comp.helper.BootstrapException: no office executable found!</div><div>        at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:262)</div><div>        at packSW.SWriter.main(SWriter.java:69)</div>
</div><div><br></div><div>**********************************************************************************************************</div><div><br></div><div>Same with the DocumentHandler!</div><div><br></div><div>Could someone help me get them running?</div>
<div>LO is installed on the machine, do I have to specify anywhere, where it is located?</div><div><br></div><div>Sincerly,</div><div><br></div><div>Hasnaoui A.</div></div>