java -Djava.library.path=/usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/sigar -jar /usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/jodconverter-core-3.0-SNAPSHOT.jar [excel檔案路徑] [pdf路徑]
Caused by: com.sun.star.lang.IllegalArgumentException: Unsupported URL <file:///home/reach/webs/webapp/public/files/201405/2014-05-09-12-51-33-7562.xls>
這是libreoffice沒有安裝導致的,安裝libreoffice即可