[Java] Caution with Bootstrap using OOo 3.0.0rc1

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
hol.sten
Volunteer
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

[Java] Caution with Bootstrap using OOo 3.0.0rc1

Post by hol.sten »

Yesterday I gave OOo 3.0.0rc1 a try. For no apparent reason, the developers of OOo 3.x changed the folder structure of the OOo installation (at least on Windows XP). You have now inside your OOo installation folder two subfolders: OpenOffice.org and OpenOffice.org 3. All of OOo's JAR files are located in subfolders of OpenOffice.org: Basis 3.0\program\classes and URE\java. soffice.exe is located in a subfolder of OpenOffice.org 3: program.

With this new folder structure the Bootstrap class in the JAR file juh.jar (now located in OpenOffice.org\URE\java), cannot locate soffice.exe anymore! Bootstrap only looks in the current folder and in the parent folder of the juh.jar file location for soffice.exe. So it seems, it's not that clever to separate them too far from each other.

So if someone encounters "no office executable found!" with OOo 3.0.0rc1 solve it this way for example: Copy the juh.jar from OpenOffice.org\URE\java to OpenOffice.org 3\program and put the juh.jar in OpenOffice.org 3\program into your java CLASSPATH. Or give [Java solution] "no office executable found!": http://user.services.openoffice.org/en/ ... =44&t=2520 a try.

I'll further investigate this problem with the next versions of OOo 3.x. If the OOo developers don't change this, OOo forums might get flooded with "no office executable found!" posts...
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
ptsenter
Posts: 22
Joined: Thu Feb 21, 2008 9:02 pm

Re: [Java] Caution with Bootstrap using OOo 3.0.0rc1

Post by ptsenter »

Thank you very much, you saved me from some (prolonged) frustration.
Unfortunately, new directory structure made it into a final product.
hol.sten
Volunteer
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: [Java] Caution with Bootstrap using OOo 3.0.0rc1

Post by hol.sten »

ptsenter wrote:Unfortunately, new directory structure made it into a final product.
Although the folder structure of OOo 3.0.0 now looks a little bit different from OOo 3.0.0rc1, the problem remains. I described the cause and the cure in this thread again: [Java] Caution with Bootstrap using OOo 3.0.0: 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
DustInTheAir
Posts: 1
Joined: Wed Jul 20, 2011 12:59 am

Re: [Java] Caution with Bootstrap using OOo 3.0.0rc1

Post by DustInTheAir »

Very nice post. Solved my problem :D
OpenOffice 3.3<+++++++>Windows XP
Abhijeet
Posts: 1
Joined: Fri Jun 14, 2013 9:03 am

Re: [Java] Caution with Bootstrap using OOo 3.0.0rc1

Post by Abhijeet »

This was very useful.Thanks :super:
OpenOffice.org 3.4.1
Windows 7 64 bit
Post Reply