B4J Question How to create standalone code for Pi?

TerraD

Member
I developed with B4J on my windows machine a small program that is to be executed on a Raspberry Pi. I managed to compile and to execute it in debug mode on the Raspberry. Now I want to copy the code to the Raspberry and run it on its own.

Can anybody direct me to the documentation that shows how this has to be done?
 

TerraD

Member
Thank you for this information Chris - it was of great help for me, as I was able to work focused. It worked very smooth. Not sure what went wrong, when I tried it myself...

2. Compile your app in Release mode to create the app jar file (this will be created in the ...\Objects\ folder).
Release mode: Project -> Build Standalone Package

3. Copy your app jar to the Pi and run the app with:
In my case I was able to start the app like this:
B4X:
java -jar myApp.jar
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…