Are you getting warning messages like the following when you launch a LibreOffice app from command-line? Although a LibreOffice app might start and display its user interface as expected even with those warnings, you may experience glitches while actually using the app (ex. fail to update control layout when its main window is resized).

luca@x410dev:~$ libreoffice --writer
javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common
is installed.
If it is already installed then try removing ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml
Warning: failed to read path from javaldx



Are you still getting the same warning messages even after installing libreoffice-java-common and removing ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml?

sudo apt install libreoffice-java-common
rm ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml



In such case, try installing default-jre package. 'javaldx: Could not find a Java Runtime Environment!' might be pointing to the right culprit, 'jre (Java Runtime Environment)'...

sudo apt install default-jre




Share This Story, Choose Your Platform!