Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no wasmer_jni in java.library.path on MacOS #61

Open
yuer1727 opened this issue Jul 4, 2021 · 2 comments
Open

no wasmer_jni in java.library.path on MacOS #61

yuer1727 opened this issue Jul 4, 2021 · 2 comments
Assignees
Labels
❓ question Further information is requested

Comments

@yuer1727
Copy link

yuer1727 commented Jul 4, 2021

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.(Instance.java:17)
at Main.main(Main.java:18)

@yuer1727 yuer1727 added the ❓ question Further information is requested label Jul 4, 2021
@Hywan
Copy link
Contributor

Hywan commented Jul 5, 2021

Hello,

What's your CPU? How did you install wasmer-java? Thanks :-).

@Hywan Hywan self-assigned this Jul 5, 2021
@johnkbarrow
Copy link

Hi - try adding "-Dos.arch=amd64" to your VM args

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants