Re: Java 12 not recognized by AOO

2019-07-28 Thread Matthias Seidel
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

Re: Java 12 not recognized by AOO

2019-07-28 Thread 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 Regards Damjan On Sun, Jul 28, 2019 at 12:12 PM Matthias Seidel wrote: > Hi Damjan, > > Am 28.07.19 um 07:32 schrieb Damjan Jovanovic: > >

Re: Java 12 not recognized by AOO

2019-07-28 Thread Matthias Seidel
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

Re: Java 12 not recognized by AOO

2019-07-28 Thread Peter Kovacs
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 >

Re: Java 12 not recognized by AOO

2019-07-27 Thread 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. On Sun,

Re: Java 12 not recognized by AOO

2019-07-27 Thread Peter Kovacs
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 wrote: > >>

Re: Java 12 not recognized by AOO

2019-07-27 Thread Damjan Jovanovic
Thank you. I've added the new paths in commit 1863883. Regards Damjan On Sat, Jul 27, 2019 at 8:39 PM Mechtilde 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 >

Re: Java 12 not recognized by AOO

2019-07-27 Thread Mechtilde
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

Re: Java 12 not recognized by AOO

2019-07-27 Thread 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

Re: Java 12 not recognized by AOO

2019-07-27 Thread Damjan Jovanovic
AdoptOpenJDK 11 isn't detected. I am investigating. On Sat, Jul 27, 2019 at 7:41 PM Damjan Jovanovic wrote: > Hi Mechtilde > > No idea. I'll try AdoptOpenJDK 11 now. > > Regards > Damjan > > > On Sat, Jul 27, 2019 at 7:22 PM Mechtilde wrote: > >> Hello, >> >> @ Damjan >> >> I see your fix

Re: Java 12 not recognized by AOO

2019-07-27 Thread Damjan Jovanovic
Hi Mechtilde No idea. I'll try AdoptOpenJDK 11 now. Regards Damjan On Sat, Jul 27, 2019 at 7:22 PM Mechtilde 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 >

Re: Java 12 not recognized by AOO

2019-07-27 Thread Mechtilde
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

Re: Java 12 not recognized by AOO

2019-05-10 Thread Matthias Seidel
Hi Damjan, Am 10.05.19 um 08:42 schrieb Damjan Jovanovic: > On Fri, May 10, 2019 at 8:35 AM FR web forum 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 >

Re: Java 12 not recognized by AOO

2019-05-10 Thread Larry Gusaas
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 >

Re: Java 12 not recognized by AOO

2019-05-10 Thread Bidouille
> 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

Re: Java 12 not recognized by AOO

2019-05-10 Thread Damjan Jovanovic
On Fri, May 10, 2019 at 8:35 AM FR web forum 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. > > > > > >

Re: Java 12 not recognized by AOO

2019-05-10 Thread FR web forum
@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. > > file:///Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre >

Re: Java 12 not recognized by AOO

2019-05-10 Thread Josef Latt
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: >

Re: Java 12 not recognized by AOO

2019-05-09 Thread 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

Re: Java 12 not recognized by AOO

2019-05-09 Thread FR web forum
- Mail original - > De: "FR web forum" > À: 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/Content

Re: Java 12 not recognized by AOO

2019-05-09 Thread FR web forum
> 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?

Re: Java 12 not recognized by AOO

2019-05-08 Thread Larry Gusaas
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

Re: Java 12 not recognized by AOO

2019-05-08 Thread Mechtilde
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

Re: Java 12 not recognized by AOO

2019-05-08 Thread Peter Kovacs
Windows operating system? Am 8. Mai 2019 03:36:16 MESZ 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 > > >On 2019-03-24 5:49 p.m., Larry Gusaas wrote: >> I just installed jdk-12.jdk on my computer. Went to AOO

Re: Java 12 not recognized by AOO

2019-05-08 Thread 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 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

Re: Java 12 not recognized by AOO

2019-03-25 Thread Larry Gusaas
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

Re: Java 12 not recognized by AOO

2019-03-25 Thread Mechtilde
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. > >