From ed1ac08fe69cd48a5eee63867341a609e2ab8063 Mon Sep 17 00:00:00 2001 From: ehlxr Date: Wed, 23 Feb 2022 09:41:05 +0800 Subject: [PATCH] update at 2022-02-23 09:41:05 by ehlxr --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 414dede..a74391c 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,13 @@ cd java_src javac me/ehlxr/HelloWorld.java ``` -Run Java +Java run + ```shell cd java_src -// Linux: export LD_LIBRARY_PATH=../mylib/target/debug/ -export JAVA_LIBRARY_PATH=../mylib/target/debug/ +# Linux: export LD_LIBRARY_PATH=../mylib/target/debug/ +# export JAVA_LIBRARY_PATH=../mylib/target/debug/ -java me.ehlxr.HelloWorld +java -Djava.library.path=../mylib/target/debug/ me.ehlxr.HelloWorld ``` \ No newline at end of file