[opensuse-support] LibreOffice won't start
6.4.5.2-lp151.3.18.1 is installed. I don't use it much. In September it worked. Now I get this:
libreoffice %u & [1] 14544 javaldx: Could not find a Java Runtime Environment! Warning: failed to read path from javaldx
I don't see anything in /var/log/zypp/history that shows any java* or jre* removal. No lines containing jre in history, and only two containing java: 2019-07-05 03:51:00|remove |libjavascriptcoregtk-3_0-0|2.4.11-4.26|x86_64|| 2019-07-05 03:53:06|remove |libjavascriptcoregtk-1_0-0|2.4.11-4.26|x86_64|| Installing libjavascriptcoregtk-4_0-18 didn't fix it. It's the only *java* package installed. No *jre* packages are installed. Searching libreoffice java in BOO found nothing for 15.1. How can I tell what's required but missing, or which of many *java* or *jre* packages should be required but according to package management is/are not? -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
On 20/01/2021 09.11, Felix Miata wrote:
6.4.5.2-lp151.3.18.1 is installed. I don't use it much. In September it worked. Now I get this:
libreoffice %u & [1] 14544 javaldx: Could not find a Java Runtime Environment! Warning: failed to read path from javaldx
I don't see anything in /var/log/zypp/history that shows any java* or jre* removal. No lines containing jre in history, and only two containing java: 2019-07-05 03:51:00|remove |libjavascriptcoregtk-3_0-0|2.4.11-4.26|x86_64|| 2019-07-05 03:53:06|remove |libjavascriptcoregtk-1_0-0|2.4.11-4.26|x86_64|| Installing libjavascriptcoregtk-4_0-18 didn't fix it. It's the only *java* package installed. No *jre* packages are installed. Searching libreoffice java in BOO found nothing for 15.1.
How can I tell what's required but missing, or which of many *java* or *jre* packages should be required but according to package management is/are not?
Try to run any other java program, and if it fails, debug that instead. :-? cer@Telcontar:~> javaldx If 'javaldx' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf javaldx cer@Telcontar:~> cnf javaldx javaldx: command not found cer@Telcontar:~> locate javaldx /data/storage_b/Grande/copia/test_a__factory_10.2/usr/lib/ooo-2.0/program/javaldx /usr/lib64/libreoffice/program/javaldx cer@Telcontar:~> Ok, so javaldx is a program. cer@Telcontar:~> wrpm /usr/lib64/libreoffice/program/javaldx libreoffice-6.4.5.2-lp152.2.3.1.x86_64 cer@Telcontar:~> cer@Telcontar:~> /usr/lib64/libreoffice/program/javaldx --help javaldx is necessary to make Java work on some UNIX platforms.It prints a string to std out that consists of directories which have to be included into the LD_LIBRARY_PATH variable.The setting of the variable usually occurs in a shell script that runs javaldx. The directories are from the chosen java installation. Options are: --help or -h cer@Telcontar:~> cer@Telcontar:~> /usr/lib64/libreoffice/program/javaldx /usr/java/jdk1.8.0_161/jre/lib/amd64/client:/usr/java/jdk1.8.0_161/jre/lib/amd64/server:/usr/java/jdk1.8.0_161/jre/lib/amd64/native_threads:/usr/java/jdk1.8.0_161/jre/lib/amd64 cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)
participants (2)
-
Carlos E. R.
-
Felix Miata