Distribute the source code and let users compile it themselves or provide make files, etc.
This is probably normal for open source projects, but very unusual for any commercial. I would recommend providing it as an option for technicians, but distributing the JAR also
Insert it in a jar
I would call it best practice
and have self-extracting archives
How about making jar executable ?
I hope for some explanations of the most common options (and I didnβt think of one) and, in particular, they require the user to have a JVM, or may be bundled with one - I personally donβt really like the installer, which stops due to the lack of JVM .
I do not consider it legal to bind a JRE. However, it is pretty obvious that the Java solution will not work without Java. OpenOffice and many others cannot install without the JRE installed. I would say that this is understandable and good.
IzPack seems like a good solution for building Java-based installers.
My main motivation for this question (which I value similarly to others) is to find solutions that do not require a user to install an already installed JVM
As I wrote, I think itβs illogical to combine JRE [ UPDATE: it is legal, read this document for reference] (and also not a very good option, since you will have to combine many different OS / architecture combinations). Thus, the only way is to compile (I can not help you with this, sorry).
Sean Patrick Floyd
source share