Skip to content

Commit e23e535

Browse files
committed
fix library load
1 parent 52bac44 commit e23e535

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package dev.felnull.fnjl;
22

33
public class FNJLBuildIn {
4-
protected static final String VERSION = "1.32";
4+
protected static final String VERSION = "1.33";
55
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
fnjl_group=dev.felnull
22
fnjl_name=felnull-java-library
3-
fnjl_version=1.32
3+
fnjl_version=1.33
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package dev.felnull.fnjln;
22

33
public class FNJLNBuildIn {
4-
protected static final String VERSION = "1.32";
4+
protected static final String VERSION = "1.33";
55

66
protected static final int NATIVE_LIBRARY_VERSION = 1;
77
}

native/src/main/java/dev/felnull/fnjln/FelNullJavaLibraryNative.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public synchronized static void init(String libraryLocation, Path libraryPath) {
8181

8282
private static boolean loadLibrary(File file) {
8383
try {
84-
System.loadLibrary(file.getAbsolutePath());
84+
System.load(file.getAbsolutePath());
8585
return true;
8686
} catch (UnsatisfiedLinkError er) {
8787
er.printStackTrace();

0 commit comments

Comments
 (0)