I have successfully created an exe for ui app using B4JPackager11 but can't create an exe for non-ui. It is getting an exception in FindPackageName when Matcher is trying to find "JavaFX-Application-Class" ... the PackageName is not set. I hope i am posting the question in the right place and please point me to some documentation where I can get this resolved.
I have successfully created an exe for ui app using B4JPackager11 but can't create an exe for non-ui. It is getting an exception in FindPackageName when Matcher is trying to find "JavaFX-Application-Class" ... the PackageName is not set. I hope i am posting the question in the right place and please point me to some documentation where I can get this resolved.
Better to start with the integrated packager: https://www.b4x.com/android/forum/threads/integrated-b4jpackager11-the-simple-way-to-distribute-standalone-ui-apps.117880/ B4JPackager11 is a B4J non-ui program that builds a package with your app jar and an embedded modularized Java runtime. It...
B4JPackager11 is a utility written in B4J that uses the underlying Java tools to create a standalone package that doesn't depend on any other software being installed. It works with OpenJDK 11 and OpenJDK 14. Starting from B4J v8.30 it is integrated in the IDE and available under Project - Build...
You can use launch4j for this. It will not include an embedded JRE but in most cases it is good enough for command line utilities (and it will be very small).