B4J Question Running sqlite on a raspberry pi

TomDuncan

Active Member
Licensed User
Longtime User
Hi All,
I have an application that runs fine on windows and a x86 linux box.
I have set it up on a raspberry pi 64 bit Dietpi debian distro.
I get an error

B4X:
Caused by: java.lang.Exception: No native library is found for os.name=Linux and os.arch=aarch64
    at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:284)
    at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:65)
    at org.sqlite.core.NativeDB.load(NativeDB.java:53)
    at org.sqlite.core.CoreConnection.open(CoreConnection.java:211)

Do I have to install any specific sqlite dependencies.

Tom
 

TomDuncan

Active Member
Licensed User
Longtime User
B4X:
#AdditionalJar: sqlite-jdbc-3.8.10.2
I can run the b4j-bridge.jar
doing a java -version I get
B4X:
B4X:
openjdk version "17-ea" 2021-09-14
Environment (build 17-ea+19-Debian-1)
openjdk 64-Bit Server VM

BTW I have put this is a standard 32bit Raspberry pi OS build.
Tom
 
Upvote 0
Top