-werners-
Esteemed Contributor III

I suppose by Libreoffice you mean the sdk, without the frontend?

You will have to install the jar as a library on the compute cluster.
From that moment on, you can use the classes in your code.
If you cannot run the jar from a command line, it might be because it is not an executable.

Besides that: Databricks might not be the correct tool for such a scenario.