diff --git a/README.md b/README.md index a74391c..fb9cff5 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,7 @@ -Rust build +Rust bindings to the JNI Demo. + +Run ```shell -cd mylib -cargo build -``` - -Java build - -```shell -cd java_src -javac me/ehlxr/HelloWorld.java -``` - -Java run - -```shell -cd java_src - -# Linux: export LD_LIBRARY_PATH=../mylib/target/debug/ -# export JAVA_LIBRARY_PATH=../mylib/target/debug/ - -java -Djava.library.path=../mylib/target/debug/ me.ehlxr.HelloWorld +> make java_run ``` \ No newline at end of file