openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damjan Jovanovic <dam...@apache.org>
Subject Re: Java 12 not recognized by AOO
Date Fri, 10 May 2019 06:42:12 GMT
On Fri, May 10, 2019 at 8:35 AM FR web forum <oooforum@free.fr> wrote:

> @Larry,
> Strange, the xml has kept many path locations.
> Could you rename this file (quit AOO before)?
> Run AOO that re-create a new javasettings file.
> Go back in Tools > Options > AOO > Java to see if jre 12 is here.
>
> > <jreLocations xsi:nil="false">
> >
> <location>file:///Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre</location>
> >
> <location>file:///Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre</location>
> >
> <location>file:///Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home</location>
> >
> <location>file:///Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home</location>
> > </jreLocations>
>
>
The only way I solved a Java detection issue before is to step through the
code with a debugger, and carefully check values at every step.

See commit 1829211 for an example.

We really need to beef up Java detection urgently, as Oracle has started to
limit its Java to non-commercial use, and people are migrating to
AdoptOpenJDK which we don't detect properly, even for Java 8.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message