javaldx: Could not find a Java Runtime Environment! on Ubuntu 18.04.1

Running LibreOffice from the shell can display this message :

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 ~/.libreoffice/3/user/config/javasettings_Linux_*.xml
Warning: failed to read path from javaldx
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26

This solution suggests installing libreoffice-base ubuntu package to fix it. It will also install libreoffice-java-common package while managing all the required dependencies.
Installing it removes this error message permanently On Ubuntu 18.04.1

NB : This solution works as well for Ubuntu 19.04

One thought on “javaldx: Could not find a Java Runtime Environment! on Ubuntu 18.04.1

  1. Hi, installing libreoffice package solved the issue on Ubuntu 18.04.2 LTS:

    $ apt-cache search “Java Runtime Environment”
    (…)
    libreoffice – office productivity suite (metapackage)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.