File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/org/purejava/appindicator Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ public class AppIndicator extends _AppIndicator {
46
46
}
47
47
48
48
allPath .add ("/usr/lib" ); // for systems, that don't implement multiarch
49
+ allPath .add ("/usr/lib64" ); // for Fedora-like distributions
49
50
for (String path : allPath ) {
50
51
try {
51
52
System .load (path + File .separator + LIB_NAME_VERSION );
@@ -54,7 +55,10 @@ public class AppIndicator extends _AppIndicator {
54
55
} catch (UnsatisfiedLinkError ignored ) { }
55
56
}
56
57
57
- // When loading via System.load wasn't successful, try to load via System.loadLibrary
58
+ // When loading via System.load wasn't successful, try to load via System.loadLibrary.
59
+ // System.loadLibrary builds the libname by prepending the prefix JNI_LIB_PREFIX
60
+ // and appending the suffix JNI_LIB_SUFFIX. This usually does not work for library files
61
+ // with an ending like '3.so.1'.
58
62
if (!isLoaded ) {
59
63
try {
60
64
System .loadLibrary (LIBNAME_WITH_VERSION );
You can’t perform that action at this time.
0 commit comments