Package org.apache.opendal
Class NativeLibrary
java.lang.Object
org.apache.opendal.NativeLibrary
Utility for loading the native library.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Try load the native library from the following locations: Load from the system dynamic library (opendal_java
), the search path can be configured via-Djava.library.path
.
-
Constructor Details
-
NativeLibrary
public NativeLibrary()
-
-
Method Details
-
loadLibrary
public static void loadLibrary()Try load the native library from the following locations:-
Load from the system dynamic library (
opendal_java
), the search path can be configured via-Djava.library.path
. -
Load from the bundled library in the classpath (
/native/{classifier}/{libraryName}
). You can use the prebuilt library:- org.apache.opendal:opendal-{version}-linux-x86_64
- org.apache.opendal:opendal-{version}-linux-aarch_64
- org.apache.opendal:opendal-{version}-osx-x86_64
- org.apache.opendal:opendal-{version}-osx-aarch_64
- org.apache.opendal:opendal-{version}-windows-x86_64
-
Load from the system dynamic library (
-