Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


On 18/06/2020 20:37, Jean-Baptiste Faure wrote:
I have a problem with Java in my builds of LO7 and master.
My environment: Ubuntu 18.04.4 x86-64 with Gnome.
Java : OpenJDK 8 and 11 provided by Ubuntu
Default java : java 11

I build LO 6.4, 7.0 and master
LO 6.4 I is build with option
--with-jdk-home=/usr/lib/jvm/java-8-openjdk-amd64/

LO7 and master are build with option
--with-jdk-home=/usr/lib/jvm/java-11-openjdk-amd64

I did tests with form wizard in Base:
LO6.4 is able to use both java 8 and java 11.
LO7.0 beta2+ and master can find only java 8 and say it is defective.
If I try to add java 11 (/usr/lib/jvm/java-11-openjdk-amd64
) it say that there is no Java runtime environment in the folder I selected.

Is there something I missed in the configuration of my builds or is there a bug ?

I would start debugging by looking at what JREs are actually listed at "Tools - Options... - LibreOffice - Advanced - Java Options", and running LO with SAL_LOG=+WARN+INFO.jfw to get all the log output from the code responsible for choosing a JRE and starting a JVM (assuming your build is not (implicitly) configured as --disable-sal-log).


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.