On Fri, May 10, 2019 at 8:35 AM FR web forum <ooofo...@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.