On macOS 12.2, when installing openjdk with mamba install -c conda-forge openjdk, echo $JAVA_HOME returns an empty line. Similarly, the return of os.getenv("JAVA_HOME") from within Python 3.10 is empty. This leads to The operation couldn’t be completed. Unable to locate a Java Runtime. when building the docs.
On macOS 12.2, when installing
openjdk
withmamba install -c conda-forge openjdk
,echo $JAVA_HOME
returns an empty line. Similarly, the return ofos.getenv("JAVA_HOME")
from within Python 3.10 is empty. This leads toThe operation couldn’t be completed. Unable to locate a Java Runtime.
when building the docs.