In the ‘examples/issues’ sample, if I add this line
javaHome = “/usr/local/opt/openjdk”
to the build.gradle.kts file and run the app I get the following error
“Cannot open /usr/local/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home/lib/libjawt.dylib: dlopen(/usr/local/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home/lib/libjawt.dylib, 9): Library not loaded: @rpath/libjvm.dylib
Referenced from: /usr/local/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home/lib/libjawt.dylib
Reason: image not found”
I’ve just installed JDK15
I get the same error for JDK11 as well, this is on a mac with Open JDK installed with HomeBrew
Any ideas?
Thanks