diff --git a/Provide-native-lib-for-libsignal.md b/Provide-native-lib-for-libsignal.md index c3ad341..e29ce0a 100644 --- a/Provide-native-lib-for-libsignal.md +++ b/Provide-native-lib-for-libsignal.md @@ -76,7 +76,12 @@ Note: on Windows, bundling the compiled `signal_jni.dll` file does not seem to w ##### Finding the default `java.library.path` -This [Java program](https://stackoverflow.com/a/20498049) can output any system property, including `java.library.path`. Note that there may be multiple paths to choose from, they are separated with a colon. +You can run the following command to get the value of `java.library.path` on your system: +``` +java -XshowSettings:properties -version 2>&1 | grep java.library.path +``` + +Note that there may be multiple paths to choose from, they are separated with a colon. ##### Overriding `java.library.path`