You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Mechtilde <oo...@mechtilde.de> on 2019/07/27 17:22:16 UTC

Re: Java 12 not recognized by AOO

Hello,

@ Damjan

I see your fix to Issue #128157.

Does ist also works with Openjdk 11?

Is it possible to extend it to OpenJKD because this is standard in the
Linux distributions

Kind regards

Mechtide

Am 10.05.19 um 08:42 schrieb Damjan Jovanovic:
> On Fri, May 10, 2019 at 8:35 AM FR web forum <oo...@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.
> 

-- 
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


Re: Java 12 not recognized by AOO

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,

Am 28.07.19 um 12:50 schrieb Damjan Jovanovic:
> Thank you.
>
> That's good news.
>
> Sure, feel free to merge it to other branches. I've also added it to
> https://wiki.openoffice.org/wiki/Building_old_versions

I will do for AOO42X.

Testing AdoptOpenJRE 11 (x86) for Windows as we speak. Didn't know that
it exists... ;-)

Regards,

   Matthias

>
> Regards
> Damjan
>
>
> On Sun, Jul 28, 2019 at 12:12 PM Matthias Seidel <ma...@hamburg.de>
> wrote:
>
>> Hi Damjan,
>>
>> Am 28.07.19 um 07:32 schrieb Damjan Jovanovic:
>>> For AdoptOpenJDK it was config files and several .cxx files that register
>>> Java implementations (we really should extract that from config files
>>> instead).
>>>
>>> For Java 11/12 it was .cxx files that specify search paths for libjvm.so
>> on
>>> *nix. Yes, there may still be issues on Windows/Mac/etc.
>> Well done!
>>
>> I can confirm that "OpenJDK8U-jre_x86-32_windows_hotspot_8u222b10" is
>> detected on Windows with your latest changes!
>>
>> That should be merged to AOO42X and maybe it is a candidate for AOO417?
>> Opinions?
>>
>> Regards,
>>
>>    Matthias
>>
>>> On Sun, Jul 28, 2019 at 5:31 AM Peter Kovacs <Pe...@apache.org> wrote:
>>>
>>>> Should we not move this stuff in some sort of config file?Is the
>>>> information in the config file you edited?
>>>>
>>>> On 27.07.19 21:52, Damjan Jovanovic wrote:
>>>>> Thank you.
>>>>>
>>>>> I've added the new paths in commit 1863883.
>>>>>
>>>>> Regards
>>>>> Damjan
>>>>>
>>>>>
>>>>> On Sat, Jul 27, 2019 at 8:39 PM Mechtilde <oo...@mechtilde.de> wrote:
>>>>>
>>>>>> Hello Damjan,
>>>>>>
>>>>>> here you can see the paths of the different Java versions fpr
>> libjvm.so
>>>>>> under Debian:
>>>>>>
>>>>>> /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
>>>>>> /usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
>>>>>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
>>>>>>
>>>>>> Kind regards
>>>>>>
>>>>>>
>>>>>> Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
>>>>>>> The problem with AdoptOpenJDK 11 is that it has a:
>>>>>>> lib/server/libjvm.so
>>>>>>> instead of the expected:
>>>>>>> lib/amd64/server/libjvm.so
>>>>>>>
>>>>>>> Patching AOO to search the new path fixes the detection problem.
>>>>>>>
>>>>>>> Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those
>>>>>> require
>>>>>>> a different patch.
>>>>>>>
>>>>>>> Regards
>>>>>>> Damjan
>>>>>>>
>>>>>> --
>>>>>> Mechtilde Stehmann
>>>>>> ## Apache OpenOffice
>>>>>> ## Freie Office Suite für Linux, MacOSX, Windows
>>>>>> ## Debian Developer
>>>>>> ## PGP encryption welcome
>>>>>> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>>>>>>
>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>
>>>>
>>


Re: Java 12 not recognized by AOO

Posted by Damjan Jovanovic <da...@apache.org>.
Thank you.

That's good news.

Sure, feel free to merge it to other branches. I've also added it to
https://wiki.openoffice.org/wiki/Building_old_versions

Regards
Damjan


On Sun, Jul 28, 2019 at 12:12 PM Matthias Seidel <ma...@hamburg.de>
wrote:

> Hi Damjan,
>
> Am 28.07.19 um 07:32 schrieb Damjan Jovanovic:
> > For AdoptOpenJDK it was config files and several .cxx files that register
> > Java implementations (we really should extract that from config files
> > instead).
> >
> > For Java 11/12 it was .cxx files that specify search paths for libjvm.so
> on
> > *nix. Yes, there may still be issues on Windows/Mac/etc.
>
> Well done!
>
> I can confirm that "OpenJDK8U-jre_x86-32_windows_hotspot_8u222b10" is
> detected on Windows with your latest changes!
>
> That should be merged to AOO42X and maybe it is a candidate for AOO417?
> Opinions?
>
> Regards,
>
>    Matthias
>
> >
> > On Sun, Jul 28, 2019 at 5:31 AM Peter Kovacs <Pe...@apache.org> wrote:
> >
> >> Should we not move this stuff in some sort of config file?Is the
> >> information in the config file you edited?
> >>
> >> On 27.07.19 21:52, Damjan Jovanovic wrote:
> >>> Thank you.
> >>>
> >>> I've added the new paths in commit 1863883.
> >>>
> >>> Regards
> >>> Damjan
> >>>
> >>>
> >>> On Sat, Jul 27, 2019 at 8:39 PM Mechtilde <oo...@mechtilde.de> wrote:
> >>>
> >>>> Hello Damjan,
> >>>>
> >>>> here you can see the paths of the different Java versions fpr
> libjvm.so
> >>>> under Debian:
> >>>>
> >>>> /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
> >>>> /usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
> >>>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
> >>>>
> >>>> Kind regards
> >>>>
> >>>>
> >>>> Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
> >>>>> The problem with AdoptOpenJDK 11 is that it has a:
> >>>>> lib/server/libjvm.so
> >>>>> instead of the expected:
> >>>>> lib/amd64/server/libjvm.so
> >>>>>
> >>>>> Patching AOO to search the new path fixes the detection problem.
> >>>>>
> >>>>> Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those
> >>>> require
> >>>>> a different patch.
> >>>>>
> >>>>> Regards
> >>>>> Damjan
> >>>>>
> >>>> --
> >>>> Mechtilde Stehmann
> >>>> ## Apache OpenOffice
> >>>> ## Freie Office Suite für Linux, MacOSX, Windows
> >>>> ## Debian Developer
> >>>> ## PGP encryption welcome
> >>>> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
> >>>>
> >>>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> >> For additional commands, e-mail: dev-help@openoffice.apache.org
> >>
> >>
>
>

Re: Java 12 not recognized by AOO

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,

Am 28.07.19 um 07:32 schrieb Damjan Jovanovic:
> For AdoptOpenJDK it was config files and several .cxx files that register
> Java implementations (we really should extract that from config files
> instead).
>
> For Java 11/12 it was .cxx files that specify search paths for libjvm.so on
> *nix. Yes, there may still be issues on Windows/Mac/etc.

Well done!

I can confirm that "OpenJDK8U-jre_x86-32_windows_hotspot_8u222b10" is
detected on Windows with your latest changes!

That should be merged to AOO42X and maybe it is a candidate for AOO417?
Opinions?

Regards,

   Matthias

>
> On Sun, Jul 28, 2019 at 5:31 AM Peter Kovacs <Pe...@apache.org> wrote:
>
>> Should we not move this stuff in some sort of config file?Is the
>> information in the config file you edited?
>>
>> On 27.07.19 21:52, Damjan Jovanovic wrote:
>>> Thank you.
>>>
>>> I've added the new paths in commit 1863883.
>>>
>>> Regards
>>> Damjan
>>>
>>>
>>> On Sat, Jul 27, 2019 at 8:39 PM Mechtilde <oo...@mechtilde.de> wrote:
>>>
>>>> Hello Damjan,
>>>>
>>>> here you can see the paths of the different Java versions fpr libjvm.so
>>>> under Debian:
>>>>
>>>> /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
>>>> /usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
>>>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
>>>>
>>>> Kind regards
>>>>
>>>>
>>>> Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
>>>>> The problem with AdoptOpenJDK 11 is that it has a:
>>>>> lib/server/libjvm.so
>>>>> instead of the expected:
>>>>> lib/amd64/server/libjvm.so
>>>>>
>>>>> Patching AOO to search the new path fixes the detection problem.
>>>>>
>>>>> Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those
>>>> require
>>>>> a different patch.
>>>>>
>>>>> Regards
>>>>> Damjan
>>>>>
>>>> --
>>>> Mechtilde Stehmann
>>>> ## Apache OpenOffice
>>>> ## Freie Office Suite für Linux, MacOSX, Windows
>>>> ## Debian Developer
>>>> ## PGP encryption welcome
>>>> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>


Re: Java 12 not recognized by AOO

Posted by Peter Kovacs <Pe...@Apache.org>.
added https://bz.apache.org/ooo/show_bug.cgi?id=128163

So I hope we can deal with it some day.

On 28.07.19 07:32, Damjan Jovanovic wrote:
> For AdoptOpenJDK it was config files and several .cxx files that register
> Java implementations (we really should extract that from config files
> instead).
>
> For Java 11/12 it was .cxx files that specify search paths for libjvm.so on
> *nix. Yes, there may still be issues on Windows/Mac/etc.
>
> On Sun, Jul 28, 2019 at 5:31 AM Peter Kovacs <Pe...@apache.org> wrote:
>
>> Should we not move this stuff in some sort of config file?Is the
>> information in the config file you edited?
>>
>> On 27.07.19 21:52, Damjan Jovanovic wrote:
>>> Thank you.
>>>
>>> I've added the new paths in commit 1863883.
>>>
>>> Regards
>>> Damjan
>>>
>>>
>>> On Sat, Jul 27, 2019 at 8:39 PM Mechtilde <oo...@mechtilde.de> wrote:
>>>
>>>> Hello Damjan,
>>>>
>>>> here you can see the paths of the different Java versions fpr libjvm.so
>>>> under Debian:
>>>>
>>>> /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
>>>> /usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
>>>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
>>>>
>>>> Kind regards
>>>>
>>>>
>>>> Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
>>>>> The problem with AdoptOpenJDK 11 is that it has a:
>>>>> lib/server/libjvm.so
>>>>> instead of the expected:
>>>>> lib/amd64/server/libjvm.so
>>>>>
>>>>> Patching AOO to search the new path fixes the detection problem.
>>>>>
>>>>> Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those
>>>> require
>>>>> a different patch.
>>>>>
>>>>> Regards
>>>>> Damjan
>>>>>
>>>> --
>>>> Mechtilde Stehmann
>>>> ## Apache OpenOffice
>>>> ## Freie Office Suite für Linux, MacOSX, Windows
>>>> ## Debian Developer
>>>> ## PGP encryption welcome
>>>> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Java 12 not recognized by AOO

Posted by Damjan Jovanovic <da...@apache.org>.
For AdoptOpenJDK it was config files and several .cxx files that register
Java implementations (we really should extract that from config files
instead).

For Java 11/12 it was .cxx files that specify search paths for libjvm.so on
*nix. Yes, there may still be issues on Windows/Mac/etc.

On Sun, Jul 28, 2019 at 5:31 AM Peter Kovacs <Pe...@apache.org> wrote:

> Should we not move this stuff in some sort of config file?Is the
> information in the config file you edited?
>
> On 27.07.19 21:52, Damjan Jovanovic wrote:
> > Thank you.
> >
> > I've added the new paths in commit 1863883.
> >
> > Regards
> > Damjan
> >
> >
> > On Sat, Jul 27, 2019 at 8:39 PM Mechtilde <oo...@mechtilde.de> wrote:
> >
> >> Hello Damjan,
> >>
> >> here you can see the paths of the different Java versions fpr libjvm.so
> >> under Debian:
> >>
> >> /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
> >> /usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
> >> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
> >>
> >> Kind regards
> >>
> >>
> >> Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
> >>> The problem with AdoptOpenJDK 11 is that it has a:
> >>> lib/server/libjvm.so
> >>> instead of the expected:
> >>> lib/amd64/server/libjvm.so
> >>>
> >>> Patching AOO to search the new path fixes the detection problem.
> >>>
> >>> Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those
> >> require
> >>> a different patch.
> >>>
> >>> Regards
> >>> Damjan
> >>>
> >> --
> >> Mechtilde Stehmann
> >> ## Apache OpenOffice
> >> ## Freie Office Suite für Linux, MacOSX, Windows
> >> ## Debian Developer
> >> ## PGP encryption welcome
> >> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>

Re: Java 12 not recognized by AOO

Posted by Peter Kovacs <Pe...@Apache.org>.
Should we not move this stuff in some sort of config file?Is the
information in the config file you edited?

On 27.07.19 21:52, Damjan Jovanovic wrote:
> Thank you.
>
> I've added the new paths in commit 1863883.
>
> Regards
> Damjan
>
>
> On Sat, Jul 27, 2019 at 8:39 PM Mechtilde <oo...@mechtilde.de> wrote:
>
>> Hello Damjan,
>>
>> here you can see the paths of the different Java versions fpr libjvm.so
>> under Debian:
>>
>> /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
>> /usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
>>
>> Kind regards
>>
>>
>> Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
>>> The problem with AdoptOpenJDK 11 is that it has a:
>>> lib/server/libjvm.so
>>> instead of the expected:
>>> lib/amd64/server/libjvm.so
>>>
>>> Patching AOO to search the new path fixes the detection problem.
>>>
>>> Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those
>> require
>>> a different patch.
>>>
>>> Regards
>>> Damjan
>>>
>> --
>> Mechtilde Stehmann
>> ## Apache OpenOffice
>> ## Freie Office Suite für Linux, MacOSX, Windows
>> ## Debian Developer
>> ## PGP encryption welcome
>> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Java 12 not recognized by AOO

Posted by Damjan Jovanovic <da...@apache.org>.
Thank you.

I've added the new paths in commit 1863883.

Regards
Damjan


On Sat, Jul 27, 2019 at 8:39 PM Mechtilde <oo...@mechtilde.de> wrote:

> Hello Damjan,
>
> here you can see the paths of the different Java versions fpr libjvm.so
> under Debian:
>
> /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
> /usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
>
> Kind regards
>
>
> Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
> > The problem with AdoptOpenJDK 11 is that it has a:
> > lib/server/libjvm.so
> > instead of the expected:
> > lib/amd64/server/libjvm.so
> >
> > Patching AOO to search the new path fixes the detection problem.
> >
> > Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those
> require
> > a different patch.
> >
> > Regards
> > Damjan
> >
>
> --
> Mechtilde Stehmann
> ## Apache OpenOffice
> ## Freie Office Suite für Linux, MacOSX, Windows
> ## Debian Developer
> ## PGP encryption welcome
> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>
>

Re: Java 12 not recognized by AOO

Posted by Mechtilde <oo...@mechtilde.de>.
Hello Damjan,

here you can see the paths of the different Java versions fpr libjvm.so
under Debian:

/usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so
/usr/lib/jvm/java-12-openjdk-amd64/lib/server/libjvm.so
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so

Kind regards


Am 27.07.19 um 20:18 schrieb Damjan Jovanovic:
> The problem with AdoptOpenJDK 11 is that it has a:
> lib/server/libjvm.so
> instead of the expected:
> lib/amd64/server/libjvm.so
> 
> Patching AOO to search the new path fixes the detection problem.
> 
> Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those require
> a different patch.
> 
> Regards
> Damjan
> 

-- 
Mechtilde Stehmann
## Apache OpenOffice
## Freie Office Suite für Linux, MacOSX, Windows
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F


Re: Java 12 not recognized by AOO

Posted by Damjan Jovanovic <da...@apache.org>.
The problem with AdoptOpenJDK 11 is that it has a:
lib/server/libjvm.so
instead of the expected:
lib/amd64/server/libjvm.so

Patching AOO to search the new path fixes the detection problem.

Does OpenJDK 11 / Oracle JDK 11 have the same change in path? Those require
a different patch.

Regards
Damjan

On Sat, Jul 27, 2019 at 7:48 PM Damjan Jovanovic <da...@apache.org> wrote:

> AdoptOpenJDK 11 isn't detected.
>
> I am investigating.
>
>
>
> On Sat, Jul 27, 2019 at 7:41 PM Damjan Jovanovic <da...@apache.org>
> wrote:
>
>> Hi Mechtilde
>>
>> No idea. I'll try AdoptOpenJDK 11 now.
>>
>> Regards
>> Damjan
>>
>>
>> On Sat, Jul 27, 2019 at 7:22 PM Mechtilde <oo...@mechtilde.de> wrote:
>>
>>> Hello,
>>>
>>> @ Damjan
>>>
>>> I see your fix to Issue #128157.
>>>
>>> Does ist also works with Openjdk 11?
>>>
>>> Is it possible to extend it to OpenJKD because this is standard in the
>>> Linux distributions
>>>
>>> Kind regards
>>>
>>> Mechtide
>>>
>>> Am 10.05.19 um 08:42 schrieb Damjan Jovanovic:
>>> > On Fri, May 10, 2019 at 8:35 AM FR web forum <oo...@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.
>>> >
>>>
>>> --
>>> Mechtilde Stehmann
>>> ## Apache OpenOffice
>>> ## Freie Office Suite für Linux, MacOSX, Windows
>>> ## Debian Developer
>>> ## PGP encryption welcome
>>> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>>>
>>>

Re: Java 12 not recognized by AOO

Posted by Damjan Jovanovic <da...@apache.org>.
AdoptOpenJDK 11 isn't detected.

I am investigating.



On Sat, Jul 27, 2019 at 7:41 PM Damjan Jovanovic <da...@apache.org> wrote:

> Hi Mechtilde
>
> No idea. I'll try AdoptOpenJDK 11 now.
>
> Regards
> Damjan
>
>
> On Sat, Jul 27, 2019 at 7:22 PM Mechtilde <oo...@mechtilde.de> wrote:
>
>> Hello,
>>
>> @ Damjan
>>
>> I see your fix to Issue #128157.
>>
>> Does ist also works with Openjdk 11?
>>
>> Is it possible to extend it to OpenJKD because this is standard in the
>> Linux distributions
>>
>> Kind regards
>>
>> Mechtide
>>
>> Am 10.05.19 um 08:42 schrieb Damjan Jovanovic:
>> > On Fri, May 10, 2019 at 8:35 AM FR web forum <oo...@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.
>> >
>>
>> --
>> Mechtilde Stehmann
>> ## Apache OpenOffice
>> ## Freie Office Suite für Linux, MacOSX, Windows
>> ## Debian Developer
>> ## PGP encryption welcome
>> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>>
>>

Re: Java 12 not recognized by AOO

Posted by Damjan Jovanovic <da...@apache.org>.
Hi Mechtilde

No idea. I'll try AdoptOpenJDK 11 now.

Regards
Damjan


On Sat, Jul 27, 2019 at 7:22 PM Mechtilde <oo...@mechtilde.de> wrote:

> Hello,
>
> @ Damjan
>
> I see your fix to Issue #128157.
>
> Does ist also works with Openjdk 11?
>
> Is it possible to extend it to OpenJKD because this is standard in the
> Linux distributions
>
> Kind regards
>
> Mechtide
>
> Am 10.05.19 um 08:42 schrieb Damjan Jovanovic:
> > On Fri, May 10, 2019 at 8:35 AM FR web forum <oo...@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.
> >
>
> --
> Mechtilde Stehmann
> ## Apache OpenOffice
> ## Freie Office Suite für Linux, MacOSX, Windows
> ## Debian Developer
> ## PGP encryption welcome
> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
>
>