B4J Question <SOLVED> Packaging & Distributing a B4J app with Java 8

Ralph Parkhurst

Member
Licensed User
Longtime User
For reasons of providing my clients with a particular workaround, I would like to package and distribute a B4J app using Java8.

I am unable to use the integrated Standalone Packager provided for this purpose, as it requires Java11 or greater.

How should I proceed?
 
Last edited:

aeric

Expert
Licensed User
Longtime User
When you compile with Java8, the output can be run by double click on it on Windows. You don't need to use standalone package.
 
Upvote 0

Ralph Parkhurst

Member
Licensed User
Longtime User
When you compile with Java8, the output can be run by double click on it on Windows. You don't need to use standalone package.
Thank you kindly @aeric - I had noticed that it could run that way, however I had incorrectly assumed that a packager was also necessary. Thank you for putting me in the right direction :).
 
Upvote 0

Ralph Parkhurst

Member
Licensed User
Longtime User
Note that for the jar to work with a double click, Java 8 needs to be installed on the user computer. This is not the same as a standalone package which includes the Java runtime.

If this is an issue then you can find in the forum the old B4JPackager (not 11) that worked with Java 8.
Thank you Erel. I will go looking for the old B4JPackager - it will make it easier for the user :)
 
Upvote 0
Top