datafusion-contrib / datafusion-java

Java binding to Apache Arrow DataFusion
Apache License 2.0
64 stars 10 forks source link

java.lang.UnsatisfiedLinkError: no datafusion_jni in java.library.path #66

Open lfygh opened 1 year ago

lfygh commented 1 year ago

Does it support jdk11? according to the readme, it supports jdk11, but when I change the java version to jdk11, and run ExampleMain.java, it reports the error:

java.lang.UnsatisfiedLinkError: no datafusion_jni in java.library.path: [xxx/datafusion-java/datafusion-java/build/jni_libs/dev]
Unsupported OS/arch (`Osx' detected), cannot find `/jni_libs/libdatafusion_jni.dylib' or load `datafusion_jni' from system libraries. Please try building from source the jar or providing datafusion_jni in your system.

then when I change version to jdk17, it works.

jimexist commented 1 year ago

what machine build / arch are you using?