jooby: Failed joobyRun on Apple M1 Silicon
How can I resolve this?
✦ ➜ ./gradlew joobyRun
> Task :kaptGenerateStubsKotlin UP-TO-DATE
> Task :kaptKotlin UP-TO-DATE
> Task :compileKotlin UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :joobyRun FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':joobyRun'.
> /Users/max/Library/Caches/JNA/temp/jna7013481395428920527.tmp: dlopen(/Users/max/Library/Caches/JNA/temp/jna7013481395428920527.tmp, 1): no suitable image found. Did find:
/Users/max/Library/Caches/JNA/temp/jna7013481395428920527.tmp: no matching architecture in universal wrapper
/Users/max/Library/Caches/JNA/temp/jna7013481395428920527.tmp: no matching architecture in universal wrapper
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (12 by maintainers)
@ludmiloff ok, so it is fixed in 0.15.0 (or jna was updated it there).
So we need a new jooby release.
Thanks @jknack, great job. It is working, tested both with java 1.8 and java 16
jooby 2.9.6 has been released.
Let me know if you still have issues.
Too busy, just need to find some time.
will try this next weekend.
Thanks.