This project is designed to compile Yarism with JNI bindings into dylib or so lib for java.
- Define Java class and method. For example:
HelloWorld.java
- Execute
javac -h . HelloWorld.java
command to compile*.h
file. - Get the name and type signature from the
.h
file. - Define Rust method with the name and type signature
cargo build --release
Private Repo: JaSM
: Examples about how to callyarism
with java.