Skip to content

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.

About

Rust bindings to the Java Native Interface — JNI

Topics

Resources

Code of conduct

Contributing

Stars

1.6k stars

Watchers

17 watching

Forks

Releases

Used by

Contributors

Languages