B4J Question Running B4J app under Android Termux

xulihang

Well-Known Member
Licensed User
Longtime User
Have you tried running B4J app under Android's Termux?

Since javafx now has a headless option, we should also be able to run ui apps.

But I am encountering the following error using the Liberica JDK aarch64:

B4X:
WARNING: linker: Warning: "/data/data/com.termux/files/home/ImageTrans/jre/bin/java" unused DT entry: DT_RPATH (type 0xf arg 0x12e) (ignoring)
CANNOT LINK EXECUTABLE "/data/data/com.termux/files/home/ImageTrans/jre/bin/java": library "libjli.so" not found: needed by main executable
 

xulihang

Well-Known Member
Licensed User
Longtime User
I have to install a special jdk version for termux. But there is no javafx builds for termux.

B4X:
pkg install openjdk-21
 
Upvote 0

teddybear

Well-Known Member
Licensed User
I don't think you can directly run the Liberica JDK on Termux, as the Liberica JDK ABI is different from the Termux (Bionic) ABI, unless you install Linux on Termux
 
Upvote 0
Top