![]() ĭowngrading to java-1.8.0-openjdk-1.8.0.262.b10 works as a workaround, although certain newer versions may also work I haven't tried bisecting the bug further. This bug also occurs on CentOS 7.8 and CentOS. Add a path to the root folder of a JRE on your computer. The path to the JRE is displayed beneath the list box. On some systems, you must restart LibreOffice to use your changed setting. On some systems, you must wait a minute until the list gets populated. No additional output should be printed to stderr Java runtime environments (JRE) already installed: Select the JRE that you want to use. When a Java application attempts to access your hard drive, a prompt opens. The warning `javaldx: Could not find a Java Runtime Environment!` will be printed in addition to the usual output. Allows you to run Java applications in LibreOffice. Install `java-1.8.0-openjdk` and `libreoffice`. `javaldx` isn't always called for some reason related to the environment, in which case `/usr/lib64/libreoffice/program/javaldx` can be called directly to reproduce the issue.ġ. Reproducible most of the time when calling `soffice`. Version-Release number of selected component (if applicable): The exact file can be found from libreoffice-core: I was able to fix the issue by adding the "Red Hat, Inc." vendor name to both `/usr/lib64/libreoffice/program/javavendors.xml` and the shared library, which is compiled from a CXX file at `jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx`. This can be checked using the command `java -XshowSettings:properties -version`. Starting with at least the version java-1.8.0-openjdk-1.8.0.7_9, the Java implementation has the custom VM vendor name "Red Hat, Inc." instead of "Oracle Corporation" as used before. Warning: failed to read path from javaldx Javaldx: Could not find a Java Runtime Environment! If the Java vendor name isn't recognized, the following warning will be printed to stderr: When running `soffice`, the executable `/usr/lib64/libreoffice/program/javaldx` will be executed which will check the Java implementation and compare its vendor name against those listed in `/usr/lib64/libreoffice/program/javavendors.xml` and the list stored in the shared library `/usr/lib64/libreoffice/program/libjvmfwklo.so`. Java runtime environments (JRE) already installed: Select the JRE that you want to use.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |