optapy_error: [Errno 2] JVM DLL not found: /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home/lib/libjli.dylib

88 Views Asked by At

Could you help me fix this error: enter image description here

I've tried to run the example from https://notebooks.gesis.org/binder/jupyter/user/optapy-optapy-quickstarts-qdcpkydn/notebooks/school-timetabling/school-timetabling-quickstart.ipynb

I've installed jdk-21, and python 3.9 and set the JAVA_HOME env = '/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home'

Also I've checked that the file libjli.dylib from error is inside the path enter image description here

0

There are 0 best solutions below