1. 下載下傳軟體/傻瓜安裝
OpenOffice 下載下傳位址http://www.openoffice.org/
JodConverter 下載下傳位址http://sourceforge.net/projects/jodconverter/files/JODConverter/,也可以直接從附件裡面下載下傳
2.啟動OpenOffice的服務
安裝完openoffice,安裝服務
//進入目錄
cd C:\Program Files (x86)\OpenOffice 4\program
//執行
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
//檢視是否啟動成功
netstat -ano|findstr "8100"
3.解壓JosConverter的zip包,把相關jar包導入項目,裡面有執行個體可直接導入項目測試。