This is a follow-on article for building Java desktop applications using OpenJDK11 and OpenJFX 11. See
- Making a Windows MSI from a Java 11 and JavaFX 11 Desktop application
- Create a Linux Debian package from JavaFX 11 desktop application
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
- 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.