update at 2022-02-24 11:18:34 by ehlxr
This commit is contained in:
parent
7280cff05a
commit
0b58332005
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user