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

This commit is contained in:
ehlxr 2022-02-24 11:18:34 +08:00
parent 7280cff05a
commit 0b58332005

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");
}