Closed jacob-rosenthal closed 4 years ago
Solved by exporting JAVA_HOME variable:
import os
os.environ["JAVA_HOME"] = '/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home'
Will try to put this info in a useful error message
The Could not find Java JRE compatible with x86_64 architecture
message comes from the logger (see here). After looking around for a little while, can't find how to capture log messages. In the meantime, will add a check to the imports that looks for JAVA_HOME
in environment variables
I am able to import bioformats and javabridge, although
javabridge.start_vm(class_path=bioformats.JARS)
fails. This error should be caught so that we can give a message to the user telling them how to resolveOn MacOS 10.15.4