https://bugs.documentfoundation.org/show_bug.cgi?id=152644
--- Comment #1 from Sierk Bornemann <[email protected]> --- I cannot confirm the issue (however, I only have installed 1 JDK (Oracle JDK) rather than multiple JDKs, installed in the OS's intended default location below /Library/Java/JavaVirtualMachines/), see attached screenshots. Version: 7.5.0.1 (AARCH64) / LibreOffice Community Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df CPU threads: 10; OS: Mac OS X 13.1; UI render: Skia/Metal; VCL: osx Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded % /usr/libexec/java_home /Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home % /usr/libexec/java_home -V Matching Java Virtual Machines (1): 19.0.1 (arm64) "Oracle Corporation" - "Java SE 19.0.1" /Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home Manpage java_home: % man java_home @Daniele: Where are your Java JDKs (a JDK contains a JRE) installed? In the default location, Apple has intended for JDKs to be installed in macOS (means: below /Library/Java/JavaVirtualMachines/)? And: do you have set the environment variable JAVA_HOME in your ~/.bash_profile, ~/.zprofile or ~/.profile to set, which one of your several JDK-installations should be taken and preferred (instead the first one, which is found by java_home per default, if no further specific option is given)? For instance (examples): ## JAVA_HOME export JAVA_HOME=$(/usr/libexec/java_home) or # Most recent stable Java VM: 19 VM # Either take/print a 19 VM or, if failing, take/print nothing, if neither is found. export JAVA_HOME=$(/usr/libexec/java_home -F -v 19) or # Either take/print a 19 VM or, if failing, take/print a 18 VM or nothing, if neither is found. export JAVA_HOME=$(/usr/libexec/java_home -F -v 19 || \ /usr/libexec/java_home -F -v 18) or # Either take/print a 19 VM or, if failing, take/print a 18 VM or, if failing, take/print a 17 VM or nothing if neither is found. export JAVA_HOME=$(/usr/libexec/java_home -F -v 19 || \ /usr/libexec/java_home -F -v 18 || \ /usr/libexec/java_home -F -v 17) See also: Apple Developer: Technical Q&A QA1170: Important Java Directories on Mac OS X –> Section JAVA Home https://developer.apple.com/library/archive/qa/qa1170/_index.html#//apple_ref/doc/uid/DTS10001702-CH1-SECTION1 Apple Developer Forum: How does /usr/libexec/java_home know where are my jdks are installed? https://developer.apple.com/forums/thread/681025 Mykyong.com, January 19, 2021: How to Set $JAVA_HOME environment variable on macOS https://mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/ -- You are receiving this mail because: You are the assignee for the bug.
