Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Rene Engelhard wrote: Hi, Am Montag 16 Januar 2006 16:36 schrieb Jürgen Schmidt: Hi, mmh, that shouldn't be necessary when you have a normal installation on your system. But i don't know if Debian does anything special. In your first mail you mentioned that you have started your office with ooffice -accept=socket,host=localhost,port=8100;urp Why is it named ooffice? Is that Debian specific? If yes that is ooffice (and oowriter, oocalc etc. which are symlinks to is) is a perl-script doing some stuff OOo misses. And fixing some stuff. And if that fixing? Is it submitted as an issue? Shouldn't it be fixed in general? should be necessary sometime do stuff for clean upgrades. i.- A wrapper script. Which is in /usr/bin. soffice still exists in /usr/lib/openoffice/program. probably the problem. The bootstrap mechansim requires some pre-conditions (e.g. soffice must be in the PATH, a symbolic link is sufficient). see above. Please can you test to rename ooffice to soffice and insert a symbolic link ooffice - soffice instead. It would be interesting for me to know if this solves your problem. He just said that... forgot my suggestion it was nonsens. Forgot the perl script and insert a link /usr/gin/soffice - officepath/program/soffice Juergen Regards, Rene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Rene Engelhard wrote: Hi, Am Montag 16 Januar 2006 17:27 schrieb Jürgen Schmidt: /usr/bin/soffice should be a link directly to officepath/program/soffice otherwise it won't work. The problem in this case is that eventual needed stuff in the wrapper script isn't executed when OOo is ran by soffice and neither when a user finds soffice and gets the idea that's the normal way for starting OOo up... What exactly is missing? Juergen But I guess we have to live with that.. appropriate classpath). But it seems that this search mechanism is not reliable and the best way is to include the office/program directory of the office you want to use in your PATH. Yeah, looks like it (although it still has the the-wrapper-isn't-used problem then) Regards, Rene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Hi Jürgen, yep. same script here on Debian. other path, though. If it's really needed and would work I guess we could add some soffice link (like /usr/bin/soffice - /usrr/bin/ooffice - calls the right soffice), too.. /usr/bin/soffice should be a link directly to officepath/program/soffice otherwise it won't work. In the past the setup has inserted such a link and the bootstrap mechanism uses this information (resolves the link and set an appropriate classpath). But it seems that this search mechanism is not reliable and the best way is to include the office/program directory of the office you want to use in your PATH. Today we insert a link staroffice or openoffice (somewhere) when i remember correctly, maybe the bootstrap search algorithm is not adapted. I will check it. I tried to create a link from /usr/bin/soffice to /usr/lib/openoffice/programm/soffice, but it did not work. Only adding /usr/lib/openoffice/programm/soffice to my classpath in project helped. Greetings, Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Tobias Krais wrote: Hi Jürgen, yep. same script here on Debian. other path, though. If it's really needed and would work I guess we could add some soffice link (like /usr/bin/soffice - /usrr/bin/ooffice - calls the right soffice), too.. /usr/bin/soffice should be a link directly to officepath/program/soffice otherwise it won't work. In the past the setup has inserted such a link and the bootstrap mechanism uses this information (resolves the link and set an appropriate classpath). But it seems that this search mechanism is not reliable and the best way is to include the office/program directory of the office you want to use in your PATH. Today we insert a link staroffice or openoffice (somewhere) when i remember correctly, maybe the bootstrap search algorithm is not adapted. I will check it. I tried to create a link from /usr/bin/soffice to /usr/lib/openoffice/programm/soffice, but it did not work. Only adding /usr/lib/openoffice/programm/soffice to my classpath in project helped. mmh, strange i will tkae a closer look on it asap. Juergen Greetings, Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Jürgen Schmidt wrote: Tobias Krais wrote: Hi Jürgen, yep. same script here on Debian. other path, though. If it's really needed and would work I guess we could add some soffice link (like /usr/bin/soffice - /usrr/bin/ooffice - calls the right soffice), too.. /usr/bin/soffice should be a link directly to officepath/program/soffice otherwise it won't work. In the past the setup has inserted such a link and the bootstrap mechanism uses this information (resolves the link and set an appropriate classpath). But it seems that this search mechanism is not reliable and the best way is to include the office/program directory of the office you want to use in your PATH. Today we insert a link staroffice or openoffice (somewhere) when i remember correctly, maybe the bootstrap search algorithm is not adapted. I will check it. I tried to create a link from /usr/bin/soffice to /usr/lib/openoffice/programm/soffice, but it did not work. Only adding /usr/lib/openoffice/programm/soffice to my classpath in project helped. mmh, strange i will tkae a closer look on it asap. i've tested it with a m145 build and it works fine after i have created a symbolic link /usr/bin/soffice - offiepath/program/soffice. There is maybe a problem with your Java, i used Sun's jdk1.5.0_02. But of course there is still the open question why this perl script is necessary, i can't see any problems with a defaut installtion at the moment Juergen Juergen Greetings, Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Hi Jürgen I tried to create a link from /usr/bin/soffice to /usr/lib/openoffice/programm/soffice, but it did not work. Only adding /usr/lib/openoffice/programm/soffice to my classpath in project helped. mmh, strange i will tkae a closer look on it asap. i've tested it with a m145 build and it works fine after i have created a symbolic link /usr/bin/soffice - offiepath/program/soffice. There is maybe a problem with your Java, i used Sun's jdk1.5.0_02. Meanwhile I use Sun JDK 1.5.0.06+debian-1.unofficial.sarge.1. I also had to reinstall my Linux due to a harddisk crash, but: nothing changed. I have to add the OFFICE_HOME to my classpath. Doesn't matter - it's working. But of course there is still the open question why this perl script is necessary, i can't see any problems with a defaut installtion at the moment Greetings, Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Hi Tobias, Tobias Krais a écrit : OK, I added a classpath variable to the project. Variable Name OFFICE_HOME value /usr/lib/openoffice/program. Then it work. You suggested the solution. Thanks a lot! I hope you won't hear too much from me in future :-) On the contrary, we all hope that will come to help further ;) Cedric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Tobias Krais wrote: Hi Stephan, Just when I started the sdk Developer Guide for OO2 I experienced problems with the first application. First my system information: I use Debian Linux. My IDE is Eclipse. I installed OpenOffice2 and the OO2 sdk. I use blackdown java 1.4.2.03. , never tried if it works with the blackdown java, but normally the bootstrap mechanism should find a running office instance. working with OO 1.1.4 and the Java UNO Wrapper from .riess it works. But now I tried the samen with sun JDK 5. Nothing changes. unsupported wrapper stuff ;-) What you could try is 1. ensure that office_install/program is in the PATH I tried: -%- [EMAIL PROTECTED]:~$ export PATH=$PATH:/usr/lib/openoffice/program [EMAIL PROTECTED]:~$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/openoffice/program [EMAIL PROTECTED]:~$ eclipse searching for compatible vm... testing /usr/lib/jvm/java-gcj...found -%- and then I run the application again: nothing changes 2. call your java class with parameter, like java -Dcom.sun.star.lib.loader.unopath=/opt/OpenOffice.org/program .. OK, I added a classpath variable to the project. Variable Name OFFICE_HOME value /usr/lib/openoffice/program. Then it work. You suggested the solution. mmh, that shouldn't be necessary when you have a normal installation on your system. But i don't know if Debian does anything special. In your first mail you mentioned that you have started your office with ooffice -accept=socket,host=localhost,port=8100;urp Why is it named ooffice? Is that Debian specific? If yes that is probably the problem. The bootstrap mechansim requires some pre-conditions (e.g. soffice must be in the PATH, a symbolic link is sufficient). Please can you test to rename ooffice to soffice and insert a symbolic link ooffice - soffice instead. It would be interesting for me to know if this solves your problem. Juergen Thanks a lot! I hope you won't hear too much from me in future :-) Greetings, Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Rene Engelhard wrote: Hi, Am Montag 16 Januar 2006 16:47 schrieb Tom Schindl: Well normally ooffice, oowriter, ... are bash-scripts or even perl (on mandrake) starting soffice to popup the appropriate OpenOffice-Application. On Mandrake for example one would have to same problem because: ooffice2.0 does the following: 8 #!/usr/bin/perl -w my $SystemInstallDir = '/usr/lib/ooo-2.0'; ... exec $SystemInstallDir/program/soffice, @ooo_argv 8 yep. same script here on Debian. other path, though. If it's really needed and would work I guess we could add some soffice link (like /usr/bin/soffice - /usrr/bin/ooffice - calls the right soffice), too.. /usr/bin/soffice should be a link directly to officepath/program/soffice otherwise it won't work. In the past the setup has inserted such a link and the bootstrap mechanism uses this information (resolves the link and set an appropriate classpath). But it seems that this search mechanism is not reliable and the best way is to include the office/program directory of the office you want to use in your PATH. Today we insert a link staroffice or openoffice (somewhere) when i remember correctly, maybe the bootstrap search algorithm is not adapted. I will check it. Juergen Regards, Rene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Well normally ooffice, oowriter, ... are bash-scripts or even perl (on mandrake) starting soffice to popup the appropriate OpenOffice-Application. On Mandrake for example one would have to same problem because: ooffice2.0 does the following: 8 #!/usr/bin/perl -w my $SystemInstallDir = '/usr/lib/ooo-2.0'; ... exec $SystemInstallDir/program/soffice, @ooo_argv 8 which means soffice is not in my path. So the bootstrap can not work by default. Tom Jürgen Schmidt wrote: Tobias Krais wrote: Hi Stephan, Just when I started the sdk Developer Guide for OO2 I experienced problems with the first application. First my system information: I use Debian Linux. My IDE is Eclipse. I installed OpenOffice2 and the OO2 sdk. I use blackdown java 1.4.2.03. , never tried if it works with the blackdown java, but normally the bootstrap mechanism should find a running office instance. working with OO 1.1.4 and the Java UNO Wrapper from .riess it works. But now I tried the samen with sun JDK 5. Nothing changes. unsupported wrapper stuff ;-) What you could try is 1. ensure that office_install/program is in the PATH I tried: -%- [EMAIL PROTECTED]:~$ export PATH=$PATH:/usr/lib/openoffice/program [EMAIL PROTECTED]:~$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/openoffice/program [EMAIL PROTECTED]:~$ eclipse searching for compatible vm... testing /usr/lib/jvm/java-gcj...found -%- and then I run the application again: nothing changes 2. call your java class with parameter, like java -Dcom.sun.star.lib.loader.unopath=/opt/OpenOffice.org/program .. OK, I added a classpath variable to the project. Variable Name OFFICE_HOME value /usr/lib/openoffice/program. Then it work. You suggested the solution. mmh, that shouldn't be necessary when you have a normal installation on your system. But i don't know if Debian does anything special. In your first mail you mentioned that you have started your office with ooffice -accept=socket,host=localhost,port=8100;urp Why is it named ooffice? Is that Debian specific? If yes that is probably the problem. The bootstrap mechansim requires some pre-conditions (e.g. soffice must be in the PATH, a symbolic link is sufficient). Please can you test to rename ooffice to soffice and insert a symbolic link ooffice - soffice instead. It would be interesting for me to know if this solves your problem. Juergen Thanks a lot! I hope you won't hear too much from me in future :-) Greetings, Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Hi, Am Montag 16 Januar 2006 16:36 schrieb Jürgen Schmidt: Hi, mmh, that shouldn't be necessary when you have a normal installation on your system. But i don't know if Debian does anything special. In your first mail you mentioned that you have started your office with ooffice -accept=socket,host=localhost,port=8100;urp Why is it named ooffice? Is that Debian specific? If yes that is ooffice (and oowriter, oocalc etc. which are symlinks to is) is a perl-script doing some stuff OOo misses. And fixing some stuff. And if that should be necessary sometime do stuff for clean upgrades. i.- A wrapper script. Which is in /usr/bin. soffice still exists in /usr/lib/openoffice/program. probably the problem. The bootstrap mechansim requires some pre-conditions (e.g. soffice must be in the PATH, a symbolic link is sufficient). see above. Please can you test to rename ooffice to soffice and insert a symbolic link ooffice - soffice instead. It would be interesting for me to know if this solves your problem. He just said that... Regards, Rene -- .''`. René Engelhard -- Debian GNU/Linux Developer : :' : http://www.debian.org | http://people.debian.org/~rene/ `. `' [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73 `- Fingerprint: 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] [SOLVED] Re: [dev] Newbie: com.sun.star.comp.helper.BootstrapException: no office executable found!
Hi, Am Montag 16 Januar 2006 17:27 schrieb Jürgen Schmidt: /usr/bin/soffice should be a link directly to officepath/program/soffice otherwise it won't work. The problem in this case is that eventual needed stuff in the wrapper script isn't executed when OOo is ran by soffice and neither when a user finds soffice and gets the idea that's the normal way for starting OOo up... But I guess we have to live with that.. appropriate classpath). But it seems that this search mechanism is not reliable and the best way is to include the office/program directory of the office you want to use in your PATH. Yeah, looks like it (although it still has the the-wrapper-isn't-used problem then) Regards, Rene -- .''`. René Engelhard -- Debian GNU/Linux Developer : :' : http://www.debian.org | http://people.debian.org/~rene/ `. `' [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73 `- Fingerprint: 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]