2
votes

Previously I used JDK 8 + Maven + Launch4j + Inno Setup to bundle JavaFX application to make an executable installer for windows and I get .exe file with size about ~60mb for SIMPLE hello world JavaFX. And then I moved using JDK 11 + Maven + Java Packager and get .exe installer file smaller just about ~30mb.

My question, can we make the .exe installer even smaller then ~30mb?

1
We are also using same. But I want to know the installer logging path - user1628121

1 Answers

0
votes

Finally, I can create an executable installer for windows with a size of about ~14Mb, and before packaged using Inno Setup the .exe size is about ~60Mb. This is possible because Gluon provides a built version of GraalVM in this GitHub repository gluonhq/graal. For full documentation please read this docs.

Also, I create a sample code using Maven in this repo NMNaufaldo/HelloGraalFX

Installer after package using Inno Setup

enter image description here

.exe native image before package using Inno Setup

enter image description here