Refrenced by http://user.services.openoffice.org/en/ ... 44&t=10825
I copied juh.jar to OpenOffice.org 3/program, and I can run my project in my IDE, but after I archive my project to a runnable jar file and using java -jar project.jar to run it, then error occured: no office executable found!
Platform: Windows XP Professional
IDE: Eclipse 3.4.2
Office: OpenOffice 3.0.0 (2008-11-14) simplified chinese version
SDK: OpenOffice 3.0.0 SDK
Thanks for your help!
[Solved][Java]"no office executable found!" in runnable jar
[Solved][Java]"no office executable found!" in runnable jar
Last edited by hawkx on Thu Apr 02, 2009 2:27 am, edited 1 time in total.
OOo 3.0.X on Ms Windows XP
Re: [Java]"no office executable found!" when using runnable jar
Did you gave the enclosed link [Java solution] "no office executable found!" a try? If not, why not? It should solve your problem.hawkx wrote:Refrenced by http://user.services.openoffice.org/en/ ... 44&t=10825
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
Re: [Java]"no office executable found!" when using runnable jar
I saw it already, but i don't know where it from, is it a third party component?hol.sten wrote:Did you gave the enclosed link [Java solution] "no office executable found!" a try? If not, why not? It should solve your problem.
OOo 3.0.X on Ms Windows XP
Re: [Java]"no office executable found!" when using runnable jar
What do you mean with "third party component"? It's not shipped with OOo, but I created it by using some Java class files from the OOo CVS, enhanced the code and added a little, packed it as a JAR and uploaded it to the thread. So your free to download and use it. I've put all the Java source code within the JAR so you can even make your own changes, if you need them.hawkx wrote:I saw it already, but i don't know where it from, is it a third party component?hol.sten wrote:Did you gave the enclosed link [Java solution] "no office executable found!" a try? If not, why not? It should solve your problem.
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
Re: [Java]"no office executable found!" when using runnable jar
I follow your Instructions and solved my problem, thank you very much!hol.sten wrote: So your free to download and use it. I've put all the Java source code within the JAR so you can even make your own changes, if you need them.
OOo 3.0.X on Ms Windows XP