I'm having trouble getting this working on a server running CentOS
5.3, installed using YUM.
When I run: whereis
openoffice.org, my results are:
openoffice: /usr/bin/
openoffice.org /usr/share/
openoffice.org
When I run the converter, this is what I get:
java -jar jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-
beta-4.jar test.doc test.txt
Exception in thread "main" java.lang.IllegalStateException: officeHome
not set and could not be auto-detected
at
org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:
163)
at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:
111)
Where is this looking for the openoffice binary?
Thanks,