The problem can be solved by installing the package libreoffice-java-common from repositories
The After some more research I found out that the problem can be solved by installing the package libreoffice-java-common from repositories