From 17183d52a829f48399e139d4055306b397f75e42 Mon Sep 17 00:00:00 2001 From: Sebastian Scheibner Date: Wed, 6 Apr 2022 16:01:08 +0200 Subject: [PATCH] Updated Provide native lib for libsignal (markdown) --- Provide-native-lib-for-libsignal.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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`