Error executing from Java

Java, C++, C#, Delphi, ??? - Using the UNO bridges

Error executing from Java

Postby chaos_al » Mon Jan 23, 2012 8:17 am

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
chaos_al
 
Posts: 2
Joined: Mon Jan 23, 2012 7:57 am

Re: Error executing from Java

Postby hol.sten » Mon Jan 23, 2012 7:35 pm

OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Error executing from Java

Postby chaos_al » Tue Jan 24, 2012 6:33 am

Of course, firs of all I tried BootStrapConnector, but got the same problem.
OpenOffice 3.3.0 on Windows 7
chaos_al
 
Posts: 2
Joined: Mon Jan 23, 2012 7:57 am

Re: Error executing from Java

Postby hol.sten » Tue Jan 24, 2012 8:26 pm

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


Return to External Programs

Who is online

Users browsing this forum: No registered users and 3 guests