Referring to the tutorial
https://www.b4x.com/android/forum/t...the-simplest-way-to-distribute-ui-apps.99835/
I am confused with the steps explained above.
Where should I extract
linux_jdk-11.0.1.zip to?
Answer: I extracted to /home/{user}/jdk-11.0.1
How do I build the package
on the target platform?
Answer:
1. Build Release app from B4J IDE in Windows.
2. Copy B4JApp.jar file from Objects folder to Linux /home.
3. Copy B4JPackager11.jar to Linux /home.
4. Create packager.json in Linux /home
{
InputJar: "/home/com/B4JApp.jar",
IncludedModules: ["jdk.crypto.ec"]
}
*Note: com is my username in Linux
5. Run the following command in Linux:
/home/com/jdk-11.0.1/bin/java -jar B4JPackager11.jar packager.json
6. The package is created in /home/com/temp/build
A video tutorial may be much helpful. Thanks.