After some digging I found the following at https://github.com/zotero/zotero-libreoffice-integration/issues/57:
sudo apt install libreoffice-java-common
The LibreOffice that comes with Ubuntu 18 seems to be trim lined. In addition to adding the java common, I need to add python to be able to write macros in python3. FYI: to added python use:
sudo apt-get install libreoffice-script-provider-python
as shown on AskUbuntu.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…