B4J Question [ABMaterial] Problem deploying to a Raspberry Pi

janderkan

Well-Known Member
Licensed User
Longtime User
I have OpenJDK11 on my PC and on the first deployment i got an error that my jar was built to a newer version.

Then I followed instructions in this link and installed bellsoft jdk11 on the Pi
ABMaterial did not run and the errors was
B4X:
/js/core.4.30.min.js
Not Found
/js/sessioncreator.js
Not Found
/css/materialize.4.26.min.css
Not Found
/favicon.ico
Not Found

I started all over with a new SD card and installed openjdk-9 using this command:
B4X:
apt-get install openjdk-9-jdk-headless
Everything works fine. :)

To be sure I started all over with a new SD card and installed bellsoft jdk12 on the Pi
Exactly the same error again. :(
 

techknight

Well-Known Member
Licensed User
Longtime User
I use ABMaterial on a USB Stick myself and I set the SD card up as a root filesystem as Read Only following Adafruits tutorial. This way you can get spontaneous power losses and it wont corrupt the SD card.

However, I cant launch ABMaterial from any other directory except being CDd into ABMaterial or youll get all those same file errors. And this is using Liberica Java 8 from the tutorial that was up a year or so ago.
 
Last edited:
Upvote 0
Top