Page 1 of 1

Error executing from Java

PostPosted: Mon Jan 23, 2012 8:17 am
by chaos_al
OO 3.3.0 on windows 7. I can run it well from program menu or shortcut, but when it executes from Java within code ( Runtime.getRuntime().exec("c:/Program Files (x86)/OpenOffice.org 3/program/soffice.exe"); )
it fails with error window with text: "Fatal error. The Application cannot be started".
With "Process Monitor" util I find that OO tries writing in c:\wodows\Openoffice.org\ dir, but fails (access denided).
I create this dir and give access on it for any user, but this action is not so good, I think.
Any suggestions?

Re: Error executing from Java

PostPosted: Mon Jan 23, 2012 7:35 pm
by hol.sten

Re: Error executing from Java

PostPosted: Tue Jan 24, 2012 6:33 am
by chaos_al
Of course, firs of all I tried BootStrapConnector, but got the same problem.

Re: Error executing from Java

PostPosted: Tue Jan 24, 2012 8:26 pm
by hol.sten
chaos_al wrote:Of course, firs of all I tried BootStrapConnector

Sorry that I didn't get that from your first post.