I know it's 7 years late, but I came across this question while trying to solve the same problem; namely compiling and running a short Java program to start and then connect to a headless LibreOffice / OpenOffice process using the Bootstrap.bootstrap() method. It would work if compiled and run from within Eclipse but when I tried to do it from the command line I got the 'no office executable found!' error. What eventually worked for me was adding the path of the office executable (/usr/lib/libreoffice/program/) to the classpath in addition to the libraries; juh.jar, jurt.jar, ridl.jar, unoil.jar and unoloader.jar. It is only necessary to do this when running the program, not when compiling it. That is:
To compile:
javac -classpath '.:/usr/lib/libreoffice/program/classes/juh.jar:/usr/lib/libreoffice/program/classes/jurt.jar:/usr/lib/libreoffice/program/classes/ridl.jar:/usr/lib/libreoffice/program/classes/unoil.jar:/usr/lib/libreoffice/program/classes/unoloader.jar' MyProg.java
To run:
java -classpath '.:/usr/lib/libreoffice/program/:/usr/lib/libreoffice/program/classes/juh.jar:/usr/lib/libreoffice/program/classes/jurt.jar:/usr/lib/libreoffice/program/classes/ridl.jar:/usr/lib/libreoffice/program/classes/unoil.jar:/usr/lib/libreoffice/program/classes/unoloader.jar' MyProg
This worked for me without using any additional tools.