Skip to content

Bump JNA to 5.14.0 for Apple Silicon support - #245

Open
vijaiaeroastro wants to merge 1 commit into
developfrom
vijaiaeroastro/bump-jna-arm64-support
Open

vijaiaeroastro wants to merge 1 commit into
developfrom
vijaiaeroastro/bump-jna-arm64-support

Conversation

@vijaiaeroastro

Copy link
Copy Markdown
Collaborator

Updates JNA from 5.5.0 to 5.14.0 to fix UnsatisfiedLinkError when running Java examples on ARM64 macOS.

JNA 5.14.0 provides native darwin-aarch64 support while maintaining compatibility with Java 8 and newer.

This PR updates:

  • Java example build scripts
  • Committed build_jar.sh files
  • Java binding generator to ensure newly generated build scripts use the updated JNA version

jna-5.5.0 ships no darwin-aarch64 native library, so the Java examples
fail with UnsatisfiedLinkError on arm64 macOS. JNA 5.14.0 includes
darwin-aarch64 and still runs on Java 8 and newer. Update the example
build scripts, the committed build_jar.sh files, and the Java binding
generator that emits them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant