got JODConverter 3.0-Beta and tried to execute it via CLI. But I get "officeHome doesn't exist or is not a directory: /opt/openoffice.org3"
error, I tried to make a symlink from /opt/openoffice3 to /usr/lib/openoffice/program/ where soffice.bin exists however
no resolution. Then I created the directory /opt/openoffice.org3 and created a symlink for the soffice.bin but unfortunately
no progress.
Am I required to configure this "officeHome" setting of am I allowed to do that via CLI? Or is there anything to be
PDFMaker:~# java -version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
ii
openoffice.org 1:3.1.0-5~bpo50+1 full-featured office productivity suite
ii openoffice.org-base 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- d
ii openoffice.org-base-core 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- s
ii openoffice.org-calc 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- s
ii openoffice.org-common 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- a
ii openoffice.org-core 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- a
ii openoffice.org-draw 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- d
ii openoffice.org-emailmerge 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- e
ii openoffice.org-filter-binfilter 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- l
ii openoffice.org-filter-mobiledev 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- m
ii openoffice.org-impress 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- p
ii openoffice.org-java-common 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- a
ii openoffice.org-math 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- e
ii openoffice.org-officebean 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- J
ii openoffice.org-report-builder-bin 1:3.1.0-5~bpo50+1 OpenOffice.org extension for building databa
ii openoffice.org-style-crystal 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- C
ii openoffice.org-style-galaxy 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- G
ii openoffice.org-style-tango 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- T
ii openoffice.org-writer 1:3.1.0-5~bpo50+1 full-featured office productivity suite -- w
PDFMaker:~# soffice -nologo -nofirststartwizard -headless -norestore -invisible "-accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;" &
[1] 6468
PDFMaker:~# ps aux | grep soffice
root 6468 0.0 0.4 2600 1144 pts/1 S 10:46 0:00 /bin/sh /usr/bin/soffice -nologo -nofirststartwizard -headless -norestore -invisible -accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;
root 6497 2.0 8.8 94108 23228 pts/1 Sl 10:46 0:00 /usr/lib/openoffice/program/soffice.bin -nologo -nofirststartwizard -headless -norestore -invisible -accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;
root 6503 0.0 0.1 1848 516 pts/1 S+ 10:46 0:00 grep soffice
PDFMaker:~# java -jar /opt/artofsolving/jodconverter/3.0-Beta/lib/jodconverter-core-3.0-beta-3.jar /root/test.ppt /root/test.pdf
Exception in thread "main" java.lang.IllegalStateException: officeHome doesn't exist or is not a directory: /opt/openoffice.org3
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:117)
at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:97)
PDFMaker:~# cd /opt/
PDFMaker:/opt# ln -s /usr/lib/openoffice/program/ openoffice.org3
PDFMaker:/opt# java -jar /opt/artofsolving/jodconverter/3.0-Beta/lib/jodconverter-core-3.0-beta-3.jar /root/test.ppt /root/test.pdf
Exception in thread "main" java.lang.IllegalStateException: invalid officeHome: it doesn't contain soffice.bin: /opt/openoffice.org3
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:119)
at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:97)
PDFMaker:/opt# rm openoffice.org3
PDFMaker:/opt# mkdir openoffice.org3
PDFMaker:/opt# cd openoffice.org3/
PDFMaker:/opt/openoffice.org3# ln -s /usr/lib/openoffice/program/soffice.bin soffice.bin
PDFMaker:/opt/openoffice.org3# ls -l
lrwxrwxrwx 1 root root 39 Jul 10 10:55 soffice.bin -> /usr/lib/openoffice/program/soffice.bin
PDFMaker:/opt/openoffice.org3# java -jar /opt/artofsolving/jodconverter/3.0-Beta/lib/jodconverter-core-3.0-beta-3.jar /root/test.ppt /root/test.pdf
Exception in thread "main" java.lang.IllegalStateException: invalid officeHome: it doesn't contain soffice.bin: /opt/openoffice.org3
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:119)
at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:97)