Type: New Feature
Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: None
Number of attachments :
Many end users don't have Java, or don't have the correct version of Java to run the project.
For J2SE desktop applications, bundling a JVM in the installer's exe would be really helpfull.
It's possible that such an open source script has already been written for NSIS.
Extra features that could be included for this task (but don't need to be in the first release):
- a nsis property defining the version of the JVM bundled, defaulting to the java version needed by the pom.
- public (for all programs on the desktop) or private (just for the project) JVM install
- optionally install the JVM
- picking the JVM to use when not installing the bundled one
- different goals for generating an exe with or without JVM
Reference: InstallAnywhere provides a commercial installer alternative. It has a free version that does most of the JVM functionality, but has many limitations such as no build from command line, support for i18n, etc