Hi, OO folks, I tried to run the FirstUnoContact example in the 'Getting Started' section of OpenOffice.org Developer's Guide, but got the common error:
encounter a com.sun.star.comp.helper.BootstrapException claiming "no office executable found!" The solution gave in the guide is to add the path to the OpenOffice.org program folder to the classpath (e.g. .../OpenOffice.org 3/program/). I added /usr/lib/openoffice.org3/program at the end of my /etc/profile, like following: export JAVA_HOME=/usr/java/jdk1.6.0_20 export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:/usr/lib/openoffice.org3/program/ export PATH=.:$PATH:$JAVA_HOME/bin I logout and login again to enable the /etc/profile, but still got this error when I tried to run FirstUnoContact again. My platform is fedora 12, my IDE is eclipse, and I have done all the steps listed in the guide and every steps goes fine. So ,can anybody please give a suggestion? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
