From 0819343f0edb0dbd7202b22741d528adafaee00a Mon Sep 17 00:00:00 2001 From: ehlxr Date: Fri, 25 Feb 2022 17:06:09 +0800 Subject: [PATCH] update at 2022-02-25 17:06:09 by ehlxr --- README.md | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) 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