You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Larry Gusaas <la...@gmail.com> on 2019/03/24 23:49:08 UTC

Java 12 not recognized by AOO

I just installed jdk-12.jdk on my computer. Went to AOO preferences to set Java preferences.

OpenOffice did not find any JRE. AOO was previously set to use jdk-11.0.2.jdk which is still 
installed on my computer.

Tried to add jdk-12.jdk but get the message "The Java runtime environment you selected is not 
the required version."

Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0

Was able to add jdk-11.0.2.jdk back to the list of installed Java.


-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com

"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese



---------------------------------------------------------------------
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 Larry Gusaas <la...@gmail.com>.
I used "Add" on the Java options page in Preferences.

The location on my Mac is:

Macintosh HD/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home

On 2019-03-25 12:06 a.m., Mechtilde wrote:
> Hello Larry,
>
> how did you do it with Java-11. Can you describe the whole Java-Path I
> have to choose in the AOO preferences?
>
> Kind regards
>
> Mechtilde
>
> Am 25.03.19 um 00:49 schrieb Larry Gusaas:
>> I just installed jdk-12.jdk on my computer. Went to AOO preferences to
>> set Java preferences.
>>
>> OpenOffice did not find any JRE. AOO was previously set to use
>> jdk-11.0.2.jdk which is still installed on my computer.
>>
>> Tried to add jdk-12.jdk but get the message "The Java runtime
>> environment you selected is not the required version."
>>
>> Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0
>>
>> Was able to add jdk-11.0.2.jdk back to the list of installed Java.
>>
>>


-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com

"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese


Re: Java 12 not recognized by AOO

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

how did you do it with Java-11. Can you describe the whole Java-Path I
have to choose in the AOO preferences?

Kind regards

Mechtilde

Am 25.03.19 um 00:49 schrieb Larry Gusaas:
> I just installed jdk-12.jdk on my computer. Went to AOO preferences to
> set Java preferences.
> 
> OpenOffice did not find any JRE. AOO was previously set to use
> jdk-11.0.2.jdk which is still installed on my computer.
> 
> Tried to add jdk-12.jdk but get the message "The Java runtime
> environment you selected is not the required version."
> 
> Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0
> 
> Was able to add jdk-11.0.2.jdk back to the list of installed Java.
> 
> 

-- 
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 Larry Gusaas <la...@gmail.com>.
On 2019-05-10 12:34 a.m., FR web forum wrote:
> @Larry,
> Strange, the xml has kept many path locations.
They are previously installed versions of Java that have been uninstalled.
> 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.

Did that. jre 12 is there. The new xml file is:

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="true"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="false" vendorUpdate="2013-01-01" autoSelect="false">
<vendor>Oracle Corporation</vendor>
<location>file:///Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home</location>
<version>12.0.1</version>
<features>0</features>
<requirements>1</requirements>
<vendorData>660069006C0065003A002F002F002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F007300650072007600650072002F006C00690062006A0076006D002E00640079006C00690062000A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034002F0063006C00690065006E0074003A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034002F006E00610074006900760065005F0074006800720065006100640073003A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034000A00</vendorData>
</javaInfo>
</java>



-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com

"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese



---------------------------------------------------------------------
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 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.

+1

Personally I tried OpenJDK [1] on Windows because they also offer a
32-bit version for Java 8. But it isn't detected in AOO.

Regards,

   Matthias

[1] https://github.com/ojdkbuild/ojdkbuild

>


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
>
>

Re: Java 12 not recognized by AOO

Posted by Mechtilde <oo...@mechtilde.de>.
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 Bidouille <oo...@free.fr>.
> 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.
Seems to be fixed in LibO:
https://bugs.documentfoundation.org/show_bug.cgi?id=124503


> 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.
+1


---------------------------------------------------------------------
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>.
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.

Re: Java 12 not recognized by AOO

Posted by Josef Latt <Jo...@gmx.net>.
Hi,

locations in Ubuntu 19.04, where java 11 is marked as supported:

/usr/lib/jvm/java-8-openjdk-amd64/jre
/usr/lib/jvm/java-11-openjdk-amd64

In java 11 there is no folder .../jre.
For me, it seems that the path to java is hard coded.

Regards
Josef

Am 09.05.19 um 19:42 schrieb Larry Gusaas:
> On 2019-05-09 1:13 a.m., FR web forum wrote:
>>> The location on my Mac is:
>>> HD/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home
>> Java parameters are read by AOO in javasettings_MacOSX_X86_64.xml
>> Location in:
>> HD > Library > Application Support > OpenOffice > 4 > User > config
>> Could you post the content of this file?
> 
> HD > (user name) > Library > Application Support > OpenOffice > 4 > User
>> config
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!--This is a generated file. Do not alter this file!-->
> <java xmlns="http://openoffice.org/2004/java/framework/1.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <enabled xsi:nil="false">true</enabled>
> <userClassPath xsi:nil="true"/>
> <vmParameters xsi:nil="false"/>
> <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>
> <javaInfo xsi:nil="false" vendorUpdate="2013-01-01" autoSelect="false">
> <vendor>Oracle Corporation</vendor>
> <location>file:///Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home</location>
> 
> <version>12.0.1</version>
> <features>0</features>
> <requirements>1</requirements>
> <vendorData>660069006C0065003A002F002F002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F007300650072007600650072002F006C00690062006A0076006D002E00640079006C00690062000A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034002F0063006C00690065006E0074003A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034002F006E00610074006900760065005F0074006800720065006100640073003A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034000A00</vendorData>
> 
> </javaInfo>
> </java>
> 
> 

---------------------------------------------------------------------
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 FR web forum <oo...@free.fr>.
@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>


---------------------------------------------------------------------
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 Larry Gusaas <la...@gmail.com>.
On 2019-05-09 1:13 a.m., FR web forum wrote:
>> The location on my Mac is:
>> HD/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home
> Java parameters are read by AOO in javasettings_MacOSX_X86_64.xml
> Location in:
> HD > Library > Application Support > OpenOffice > 4 > User > config
> Could you post the content of this file?

HD > (user name) > Library > Application Support > OpenOffice > 4 > User > config

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="false">true</enabled>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="false"/>
<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>
<javaInfo xsi:nil="false" vendorUpdate="2013-01-01" autoSelect="false">
<vendor>Oracle Corporation</vendor>
<location>file:///Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home</location>
<version>12.0.1</version>
<features>0</features>
<requirements>1</requirements>
<vendorData>660069006C0065003A002F002F002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F007300650072007600650072002F006C00690062006A0076006D002E00640079006C00690062000A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034002F0063006C00690065006E0074003A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034002F006E00610074006900760065005F0074006800720065006100640073003A002F004C006900620072006100720079002F004A006100760061002F004A006100760061005600690072007400750061006C004D0061006300680069006E00650073002F006A0064006B002D00310032002E0030002E0031002E006A0064006B002F0043006F006E00740065006E00740073002F0048006F006D0065002F006C00690062002F0061006D006400360034000A00</vendorData>
</javaInfo>
</java>


-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com

"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese



---------------------------------------------------------------------
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 FR web forum <oo...@free.fr>.
Well, I have a similar issue with LUbuntu 18.10
The default JRE is openjdk-11-jre
Once installed, this is not recognized by AOO too.
javasettings_Linux_x86.xml is not updated.
If I choose openjdk-8-jre, all is fine.
AOO in Tools > Options > Java displays Oracle Corp. v.18.0_191

----- Mail original -----
> De: "FR web forum" <oo...@free.fr>
> À: dev@openoffice.apache.org
> Envoyé: Jeudi 9 Mai 2019 09:13:38
> Objet: Re: Java 12 not recognized by AOO
> 
> > The location on my Mac is:
> > HD/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home
> 
> Java parameters are read by AOO in javasettings_MacOSX_X86_64.xml
> Location in:
> HD > Library > Application Support > OpenOffice > 4 > User > config
> Could you post the content of this file?
> 
> ---------------------------------------------------------------------
> 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 FR web forum <oo...@free.fr>.
> The location on my Mac is:
> HD/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home

Java parameters are read by AOO in javasettings_MacOSX_X86_64.xml
Location in:
HD > Library > Application Support > OpenOffice > 4 > User > config
Could you post the content of this file?

---------------------------------------------------------------------
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 Larry Gusaas <la...@gmail.com>.
On 2019-05-08 2:25 a.m., Mechtilde wrote:
> Hello Larry,
>
>
> Am 08.05.19 um 03:36 schrieb Larry Gusaas:
>> Just installed jdk-12.0.1.jdk
>>
>> It is recognized and works on both AOO 4.1.6 and AOO Developer Build 4.2.0
> Can you post the path, where AOO can find JavaRE in the AOO preferences.
> Java 11 has logterm supoort for Linux. So e.g under Debian only Java 11
> is available.


The location on my Mac is:

Macintosh HD/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home



-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com

"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese



---------------------------------------------------------------------
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 Mechtilde <oo...@mechtilde.de>.
Hello Larry,


Am 08.05.19 um 03:36 schrieb Larry Gusaas:
> Just installed jdk-12.0.1.jdk
> 
> It is recognized and works on both AOO 4.1.6 and AOO Developer Build 4.2.0

Can you post the path, where AOO can find JavaRE in the AOO preferences.
Java 11 has logterm supoort for Linux. So e.g under Debian only Java 11
is available.

> On 2019-03-24 5:49 p.m., Larry Gusaas wrote:
>> I just installed jdk-12.jdk on my computer. Went to AOO preferences to
>> set Java preferences.
>>
>> OpenOffice did not find any JRE. AOO was previously set to use
>> jdk-11.0.2.jdk which is still installed on my computer.
>>
>> Tried to add jdk-12.jdk but get the message "The Java runtime
>> environment you selected is not the required version."
>>
>> Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0
>>
>> Was able to add jdk-11.0.2.jdk back to the list of installed Java.

Kind regards

-- 
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 Peter Kovacs <pe...@apache.org>.
Windows operating system? 

Am 8. Mai 2019 03:36:16 MESZ schrieb Larry Gusaas <la...@gmail.com>:
>Just installed jdk-12.0.1.jdk
>
>It is recognized and works on both AOO 4.1.6 and AOO Developer Build
>4.2.0
>
>
>On 2019-03-24 5:49 p.m., Larry Gusaas wrote:
>> I just installed jdk-12.jdk on my computer. Went to AOO preferences
>to set Java preferences.
>>
>> OpenOffice did not find any JRE. AOO was previously set to use
>jdk-11.0.2.jdk which is still 
>> installed on my computer.
>>
>> Tried to add jdk-12.jdk but get the message "The Java runtime
>environment you selected is not 
>> the required version."
>>
>> Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0
>>
>> Was able to add jdk-11.0.2.jdk back to the list of installed Java.
>>
>>
>
>
>-- 
>_________________________________
>
>Larry I. Gusaas
>Moose Jaw, Saskatchewan Canada
>Website: http://larry-gusaas.com
>
>"An artist is never ahead of his time but most people are far behind
>theirs." - Edgard Varese
>
>
>---------------------------------------------------------------------
>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 Larry Gusaas <la...@gmail.com>.
Just installed jdk-12.0.1.jdk

It is recognized and works on both AOO 4.1.6 and AOO Developer Build 4.2.0


On 2019-03-24 5:49 p.m., Larry Gusaas wrote:
> I just installed jdk-12.jdk on my computer. Went to AOO preferences to set Java preferences.
>
> OpenOffice did not find any JRE. AOO was previously set to use jdk-11.0.2.jdk which is still 
> installed on my computer.
>
> Tried to add jdk-12.jdk but get the message "The Java runtime environment you selected is not 
> the required version."
>
> Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0
>
> Was able to add jdk-11.0.2.jdk back to the list of installed Java.
>
>


-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com

"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese


---------------------------------------------------------------------
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 Larry Gusaas <la...@gmail.com>.
Issue 128074 - AOO 4.1.6 & 4.2.0-dev do not recognize Java 12

On 2019-03-24 8:41 p.m., Dave Fisher wrote:
> Hi Larry,
>
> Thanks for reporting the issue. Did you create a bugzilla?
>
> Regards,
> Dave
>
> Sent from my iPhone
>
>> On Mar 24, 2019, at 4:49 PM, Larry Gusaas <la...@gmail.com> wrote:
>>
>> I just installed jdk-12.jdk on my computer. Went to AOO preferences to set Java preferences.
>>
>> OpenOffice did not find any JRE. AOO was previously set to use jdk-11.0.2.jdk which is still installed on my computer.
>>
>> Tried to add jdk-12.jdk but get the message "The Java runtime environment you selected is not the required version."
>>
>> Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0
>>
>> Was able to add jdk-11.0.2.jdk back to the list of installed Java.
>>
>>
>> -- 
>> _________________________________
>>
>> Larry I. Gusaas
>> Moose Jaw, Saskatchewan Canada
>> Website: http://larry-gusaas.com
>>
>> "An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: users-help@openoffice.apache.org
>>


-- 
_________________________________

Larry I. Gusaas
Moose Jaw, Saskatchewan Canada
Website: http://larry-gusaas.com

"An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese


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


Re: Java 12 not recognized by AOO

Posted by Dave Fisher <da...@comcast.net>.
Hi Larry,

Thanks for reporting the issue. Did you create a bugzilla?

Regards,
Dave

Sent from my iPhone

> On Mar 24, 2019, at 4:49 PM, Larry Gusaas <la...@gmail.com> wrote:
> 
> I just installed jdk-12.jdk on my computer. Went to AOO preferences to set Java preferences.
> 
> OpenOffice did not find any JRE. AOO was previously set to use jdk-11.0.2.jdk which is still installed on my computer.
> 
> Tried to add jdk-12.jdk but get the message "The Java runtime environment you selected is not the required version."
> 
> Get the same result using AOO 4.1.6 and AOO Developer Build 4.2.0
> 
> Was able to add jdk-11.0.2.jdk back to the list of installed Java.
> 
> 
> -- 
> _________________________________
> 
> Larry I. Gusaas
> Moose Jaw, Saskatchewan Canada
> Website: http://larry-gusaas.com
> 
> "An artist is never ahead of his time but most people are far behind theirs." - Edgard Varese
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: users-help@openoffice.apache.org
> 


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