I am running openHAB3.0 (an home automation platform written in java 11) and configured persistence trough SQLite.
I am getting this exception: java.lang.Exception: No native library is found for os.name=Linux and os.arch=aarch64. path=/org/sqlite/native/Linux/aarch64.
I am running this from a RockPro64 SBC in latest manjaro. All packages are up-to-date.
Currently I am running java from jre11-openjdk, but I also tried other java11 packages with no luck.
I also installed java-sqlite-jdbc but again I had no luck. sqlite is installed of course.
So my question is: is SQLite supported in aarch64?
Our SQLiteJDBC library requires no configuration since native libraries for major OSs, including Windows, Mac OS X, Linux etc., are assembled into a single JAR (Java Archive) file. The usage is quite simple; download our sqlite-jdbc library, then append the library (JAR file) to your class path.
Maybe you can add /usr/share/java/sqlite-jdbc to your PATH or CLASSPATH ?
Sorry for the late answer, I was not sure how to add a jar to openhab classpath as it uses karaf and osgi which I am not expert at.
However, I was able to add it and it works. I will open a ticket to openhab and ask to update documentation.
Thanks @Dulbi, your help was very much appreciated!!