jni 0.22.1

Rust bindings to the JNI
Documentation

Build Status Docs Crates.io

JNI Bindings for Rust

This project provides complete JNI bindings for Rust, allowing to:

  • Implement native Java methods for JVM and Android in Rust
  • Call Java code from Rust
  • Embed JVM in Rust applications and use any Java libraries

See the docs for more details. See the examples directory.

Shared-library Example

cd crates/jni/mylib-example
make

Contribution

See the Contribution Guide for details.

License

Licensed under either of

at your option.