Open maxandersen opened 8 months ago
@maxandersen unfortunately this error message is coming from the Java runtime itself as I see it. The definitive solution will be having the binaries correctly signed which comes with its costs...
Does the lack of signing make problems for jni?
Whats Weird to me is that if i use Java 17 it Works but Java 21 fails.
After battling with #41 and using
cat org.openjdk.jmc-8.3.0-macosx.cocoa.x86_64.tar.gz | tar xv -
instead of normal unzip I get:Failed to load the JNI shared library "/Users/manderse/.sdkman/candidates/java/17.0.7-tem/bin/../lib/server/libjvm.dylib"
I now realize this is because I used x86_64 instead of aarch64 - but maybe the error message could be more informative and give hint to user to check they used the right download for their chiparchitecture?