在mac下:
LibreOffice的soffice没有.bin扩展名;
OpenOffice的soffice有两个,一个soffice,一个是soffice.bin;
默认的代码,在mac下是无法使用的。
经测试,将OfficeUtils类的getOfficeExecutable方法中关于mac取值的

return new File(officeHome, "MacOS/soffice.bin");
修改为:

return new File(officeHome, "MacOS/soffice");
即可在mac下对openoffice或libroffice适用。
测试环境:
Mac OS 10.13.6;
openoffice 4.1.6;
libreOffice 6.2.4.2;