Creating an MSI installer from a JavaFX 11 modular desktop application

This is a follow-on article for building Java desktop applications using OpenJDK11 and OpenJFX 11. See

In this article, we are, like the previous articles, going to build the whole application using the command line.

The software tools we will use in this article are:

  • OpenJDK 11
  • OpenJFX 11
  • OpenJFX 11 modules
  • JPackager
  • Wix Toolset 3.11

See the earlier article Making a Windows MSI from a Java 11 and JavaFX 11 Desktop application for more information about these tools

What is different here is firstly the application is going to take advantage of the modular system introduced in Java 9. Secondly, we are going to build a Java Runtime Environment that includes the JavaFX modules our application requires. We will then package up the Java application with the JRE however, this will leave us with a JRE for any other Java applications providing the modules they need are included in the JRE.

Continue reading “Creating an MSI installer from a JavaFX 11 modular desktop application”

Making a Windows MSI from a Java 11 and JavaFX 11 Desktop application

Making a Windows MSI from a Java 11 and JavaFX 11 Desktop application

With the advent of Java 9 and the introduction of 6 monthly release cycles, the Java Desktop landscape has changed considerably.  If you find yourself looking to build Desktop applications using JavaFX and present them as self-contained applications, then take note. Continue reading “Making a Windows MSI from a Java 11 and JavaFX 11 Desktop application”