Error executing from Java

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
chaos_al
Posts: 2
Joined: Mon Jan 23, 2012 7:57 am

Error executing from Java

Post 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?
OpenOffice 3.3.0 on Windows 7
hol.sten
Volunteer
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Error executing from Java

Post by hol.sten »

You can give the bootstrapconnector a try: http://user.services.openoffice.org/en/ ... pconnector
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
chaos_al
Posts: 2
Joined: Mon Jan 23, 2012 7:57 am

Re: Error executing from Java

Post by chaos_al »

Of course, firs of all I tried BootStrapConnector, but got the same problem.
OpenOffice 3.3.0 on Windows 7
hol.sten
Volunteer
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Error executing from Java

Post 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.
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
Post Reply