wasmer-java
wasmer-java copied to clipboard
no wasmer_jni in java.library.path on MacOS
Summary
I try to run a wasm jni program in InteliJ on macOS , but I didn't make a success .
Additional details
Exception in thread "main" java.lang.UnsatisfiedLinkError: no wasmer_jni in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.wasmer.Instance.
Hello,
What's your CPU? How did you install wasmer-java? Thanks :-).
Hi - try adding "-Dos.arch=amd64" to your VM args