https://bugs.documentfoundation.org/show_bug.cgi?id=151545

--- Comment #8 from Jose Armando Porto <[email protected]> ---
(In reply to Jose Armando Porto from comment #7)
> (In reply to Stephan Bergmann from comment #3)
> > On macOS, you need to install a JDK (not just a JRE), and the path P you add
> > on the LibreOffice Advanced Options tab must be such that
> > P/lib/server/libjvm.dylib exists and is of the correct CPU architecture
> > (i.e., in your case `file .../lib/server/libjvm.dylib` should report
> > something like "Mach-O 64-bit dynamically linked shared library arm64").
> 
> Hi guys...
> 
> Thanks for the answers so far. 
> 
> Let me try to get all the answers you asked:
> 
> - "On macOS, you need to install a JDK" - As far as I understand, SDKMan
> install different versions of JDK's from different suppliers. The idea of
> using SDKMan is to manage all de JDK's in my machine since I need to use
> different Java versions for testing purposes in other initiatives.
> 
> - "must be such that P/lib/server/libjvm.dylib exists" - Yes it does!
> 
> - "and is of the correct CPU architecture" - I executed a "file
> libjvm.dylib" and had the following answer: "libjvm.dylib: Mach-O 64-bit
> dynamically linked shared library arm64" as expected for both JDK's I have
> (Open and Oracle).
> 
> Hope this helps.

Just as additional information, when I issue a "sdk list java" to check all the
versions are available to install I got this for Arm64 architecture: 

"
================================================================================
Available Java Versions for macOS ARM 64bit
================================================================================
 Vendor        | Use | Version      | Dist    | Status     | Identifier
--------------------------------------------------------------------------------
 Corretto      |     | 19           | amzn    |            | 19-amzn            
               |     | 17.0.4       | amzn    |            | 17.0.4-amzn        
               |     | 11.0.16      | amzn    |            | 11.0.16-amzn       
               |     | 8.0.342      | amzn    |            | 8.0.342-amzn       
 Gluon         |     | 22.1.0.1.r17 | gln     |            | 22.1.0.1.r17-gln   
               |     | 22.1.0.1.r11 | gln     |            | 22.1.0.1.r11-gln   
 GraalVM       |     | 22.2.r17     | grl     |            | 22.2.r17-grl       
               |     | 22.2.r11     | grl     |            | 22.2.r11-grl       
               |     | 22.1.0.r17   | grl     |            | 22.1.0.r17-grl     
               |     | 22.1.0.r11   | grl     |            | 22.1.0.r11-grl     
 Java.net      |     | 20.ea.19     | open    |            | 20.ea.19-open      
               | >>> | 19           | open    | installed  | 19-open            
 Liberica      |     | 19.fx        | librca  |            | 19.fx-librca       
               |     | 19           | librca  |            | 19-librca          
               |     | 17.0.4.1.fx  | librca  |            | 17.0.4.1.fx-librca 
               |     | 17.0.4.1     | librca  |            | 17.0.4.1-librca    
               |     | 11.0.16.1.fx | librca  |            |
11.0.16.1.fx-librca 
               |     | 11.0.16.1    | librca  |            | 11.0.16.1-librca   
               |     | 8.0.345.fx   | librca  |            | 8.0.345.fx-librca  
               |     | 8.0.345      | librca  |            | 8.0.345-librca     
 Liberica NIK  |     | 22.2.r17     | nik     |            | 22.2.r17-nik       
               |     | 22.2.r11     | nik     |            | 22.2.r11-nik       
 Microsoft     |     | 17.0.4.1     | ms      |            | 17.0.4.1-ms        
               |     | 11.0.16.1    | ms      |            | 11.0.16.1-ms       
 Oracle        |     | 19           | oracle  | installed  | 19-oracle          
               |     | 17.0.4       | oracle  |            | 17.0.4-oracle      
 SapMachine    |     | 19           | sapmchn |            | 19-sapmchn         
               |     | 17.0.4.1     | sapmchn |            | 17.0.4.1-sapmchn   
               |     | 11.0.16.1    | sapmchn |            | 11.0.16.1-sapmchn  
 Semeru        |     | 18.0.2       | sem     |            | 18.0.2-sem         
               |     | 17.0.4.1     | sem     |            | 17.0.4.1-sem       
               |     | 11.0.16.1    | sem     |            | 11.0.16.1-sem      
 Temurin       |     | 19           | tem     |            | 19-tem             
               |     | 17.0.4.1     | tem     |            | 17.0.4.1-tem       
               |     | 11.0.16.1    | tem     |            | 11.0.16.1-tem      
 Zulu          |     | 19           | zulu    |            | 19-zulu            
               |     | 19.fx        | zulu    |            | 19.fx-zulu         
               |     | 17.0.4.1     | zulu    |            | 17.0.4.1-zulu      
               |     | 17.0.4.1.fx  | zulu    |            | 17.0.4.1.fx-zulu   
               |     | 11.0.16.1    | zulu    |            | 11.0.16.1-zulu     
               |     | 11.0.16.1.fx | zulu    |            | 11.0.16.1.fx-zulu  
               |     | 8.0.345      | zulu    |            | 8.0.345-zulu       
               |     | 8.0.345.fx   | zulu    |            | 8.0.345.fx-zulu    
================================================================================
Omit Identifier to install default version 17.0.4.1-tem:
    $ sdk install java
Use TAB completion to discover available versions
    $ sdk install java [TAB]
Or install a specific version by Identifier:
    $ sdk install java 17.0.4.1-tem
Hit Q to exit this list view
================================================================================
"

If you want me to test with someone else, just pick one and let me know. 

BR's

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to