Hi,
I have a Bash script that uses LibreOffice (version 3.5.7.2) in order to open a spreadsheet (calc).
The script first makes a backup of the directory ~/.config/libreoffice/3/user
and creates a mount point at that path as a ramfs filesystem.
To that mount point, it creates a file named registrymodifications.xcu
with content that is known in advance (it simply disable some features of LibreOffice).
Also, the file registrymodifications.xcu
configures LibreOffice’s temporary directory to reside on a ramfs filesystem that is mounted in /tmp
, having an arbitrary name (using mktemp
).
After performing this procedure, the Bash script uses LibreOffice the open the spreadsheet document. Then, the following error is shown:
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
How do I solve this problem and make the error go away?