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

            Bug ID: 151545
           Summary: LibreOffice 7.4 does not recognize OpenJDK 19
                    installed with SDKMan
           Product: LibreOffice
           Version: 7.4.2.3 release
          Hardware: Other
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I need to use LibreOffice BASE and receive an error message claiming that I
need to install Oracle JAVA JRE.

However I have installed OpenJDK 19 using SDKMan and also made a test
installing OracleJDK 19 using SDKMan as well. Regardless of Java Version I
install, Libreoffice does not recongnize I have java on my machine up and
running. 

Steps to Reproduce:
1. Install SDKMan
2. sdk install java 19-open
3. Install LibreOffice downloading and executing
LibreOffice_7.4.2_MacOS_aarch64.dmg
4. Open LibreOffice
5. Choose Base Database on the left menu
6. On the Database Wizard choose to create a new DB using HSQLDB Embedded
7. Click on blue "Next" button on Database Wizard window
8. Click on gray "Finish" button on Database Wizard window
9. Click on blue "Save" using default name and place to create the new DB
10. Appears a message labeled "JRE Required" with contents "LibreOffice
requires Oracle's Java Development Kit (JDK) on macOS 10.10 or greater to
perform this task. Please install them and restart LibreOffice.
https://hub.libreoffice.org/InstallJava/?LOlocale=en-US";
11. Click gray "OK" Button
12. A new error message window pops up with the title "LibreOffice Base" and
content is "The connection to the data source "New Database1" could not be
established - No Java installation could be found. Please check your
Installation."
13. Clicked on the blue "OK" button
14. The dashboard for the "New Database1.odb" is opened however nothing works. 
15. Click on "LibreOffice"=>"Preferences..."==>"Advanced" to show Java options
but NO JAVA OPTIONS IS FOUND
16. Click on gray "Add..." button to manually add the JAVA Folder
17. Navigate to the "~/.sdkman/candidates/java/19-open" and click the blue
"Open" button
18. An message window pops-up with the title "Warning" and the message "The
folder you selected does not contain a Java runtime environment. Please select
a different folder"
19. Clicked the blue "Ok" Button and navigate back to the embedded finder
window to choose another folder. I tried the following folders with the exactly
same results: "~/.sdkman/candidates/java/19-open/bin";
"~/.sdkman/candidates/java/19-open/lib"; ~/.sdkman/candidates/java/19-oracle";
"~/.sdkman/candidates/java/19-oracle/bin";
"~/.sdkman/candidates/java/19-oracle/lib"

Actual Results:
See the "Steps above" since the results are described there

Expected Results:
1) LibreOffice Base automatically recognize my Java installation OR
2) LibreOffice Advanced Options manual Java proceedings recognize SDK
installation folders


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice Version Details: 

  Version: 7.4.2.3 / LibreOffice Community
  Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
  CPU threads: 10; OS: Mac OS X 12.6; UI render: default; VCL: osx
  Locale: en-US (en_BR.UTF-8); UI: en-US
  Calc: threaded


Hardware used: 

  Model Name:   MacBook Pro
  Model Identifier:     MacBookPro18,2
  Chip: Apple M1 Max
  Total Number of Cores:        10 (8 performance and 2 efficiency)
  Memory:       32 GB
  System Firmware Version:      7459.141.1
  OS Loader Version:    7459.141.1
  Serial Number (system):       XXXXXXXX
  Hardware UUID:        67BC24AF-E347-5ED1-B522-XXXXXXXXX
  Provisioning UDID:    00006001-000XXXXXXXXXXXXX
  Activation Lock Status:       Disabled


OS Information: 

  System Version:       macOS 12.6 (21G115)
  Kernel Version:       Darwin 21.6.0
  Boot Volume:  Macintosh HD
  Boot Mode:    Normal
  Computer Name:        AMAQV6VGJW0JC
  User Name:    xxxxxxx (xxxxxx)
  Secure Virtual Memory:        Enabled
  System Integrity Protection:  Enabled
  Time since boot:      1 day 2:01

User Name information and HW serial information has being purposedly masked.

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

Reply via email to