Java and LO 7.0.beta2+ / master
Stephan Bergmann
sbergman at redhat.com
Fri Jun 19 06:36:03 UTC 2020
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).
More information about the LibreOffice
mailing list