I installed openjdk with Homebrew on my Mac but then I run a python library (sutime
) that uses Java, I run into this error:
FileNotFoundError: [Errno 2] JVM DLL not found: /opt/homebrew/Cellar/openjdk/17.0.2/libexec/openjdk.jdk/Contents/Home/lib/libjli.dylib
However, when I run
ls /opt/homebrew/Cellar/openjdk/17.0.2/libexec/openjdk.jdk/Contents/Home/lib
I can see my dlls here including the one it seemingly couldn't find libjli.dylib. I'm pretty lost on why my dll isn't being detected even though it is in the correct filepath.