Bug 149773

Summary: Adoptium / Termium OpenJDK 18.0.1_10 not recognized by LibreOffice Arm on macOS
Product: LibreOffice Reporter: Alex Thurgood <iplaw67>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: sberg.fun
Priority: medium    
Version: 7.3.4.2 release   
Hardware: ARM   
OS: macOS (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Alex Thurgood 2022-06-29 15:38:28 UTC
Description:
Cloned from bug 149724

Current versions of LibreOffice 7.3.x do not recognize Adoptium/Temurin OpenJDK 18.0.1_10

1) Download the JDK from here :

https://adoptium.net/temurin/releases?version=18

2)Unzip and copy to /Library/Java/JavaVirtualMachines/

3) Start LibreOffice for Arm

4) Under LO Preferences > Advanced, check to see whether the JDK is recognized.



Steps to Reproduce:
See above description

Actual Results:
The JDK isn't recognized automatically.

Expected Results:
The JDK version should be recognized, and allow user to choose it from the list of available, and recognized JDKs


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.3.4.2 / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 8; OS: Mac OS X 12.4; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 1 Alex Thurgood 2022-06-29 15:47:18 UTC
I also tried removing the existing recognized Oracle JDK17 aarch64 version beforehand to see whether it might be blocking recognition of the JDK18, but all that did on restart of LO was to bring up the dreaded "LibreOffice requires a JRE..." message, and JDK18 was still not recognized.
Comment 2 Robert 2022-06-29 17:40:54 UTC
Current versions of LibreOffice 7.3.x recognize Adoptium/Temurin OpenJDK 18.0.1_10

that version is detected
Comment 3 Alex Thurgood 2022-06-30 13:36:09 UTC
(In reply to Robert from comment #2)
> Current versions of LibreOffice 7.3.x recognize Adoptium/Temurin OpenJDK
> 18.0.1_10
> 
> that version is detected

Aarggh, the tar.gz file  does not provide functional Java binaries, rather archived debug symbols for those binaries, that is why LO couldn't recognize it.

If I download the PKG and install that instead, it is correctly recognized - my bad, and apologies to all.