Distributable Java Packages

By the way you can also use tools like JavaPackager (it has a Maven and Gradle plugin) to bundle JRE with your app.

If you enable customizedJre (which by default it is) it will generate a minimal JRE customized for your app which only includes the required JRE modules.

You can find a sample build config here:

4 Likes