update at 2022-02-24 11:18:34 by ehlxr

master
ehlxr 2022-02-24 11:18:34 +08:00
parent 7280cff05a
commit 0b58332005
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ package me.ehlxr;
class HelloWorld {
static {
// Linux: export LD_LIBRARY_PATH=/Users/ehlxr/Desktop/jni_rs/mylib/target/debug
// Mac: export JAVA_LIBRARY_PATH=/Users/ehlxr/Desktop/jni_rs/mylib/target/debug
// Linux: export LD_LIBRARY_PATH=/Users/ehlxr/Workspaces/Rust/jni_rs/mylib/target/debug
// Mac: export JAVA_LIBRARY_PATH=/Users/ehlxr/Workspaces/Rust/jni_rs/mylib/target/debug
System.loadLibrary("mylib");
}