AdoptOpenJDK 11 + OpenJFX + NetBeans: Part 2

In part one we looked at getting a modular JavaFX application built and running from NetBeans. In this post we'll look at generating, from Maven, a runtime to execute our application. 

Assuming you followed the steps successfully in part one, you should have a running application. In this section we are going to start by removing the module-info from the root of the project. I know, counter-intuitive, right? We are going to use ModiTect, a Maven plugin authored for the very purpose of managing module descriptors and runtime images.

AdoptOpenJDK 11 + OpenJFX + NetBeans: Part 1

I really struggled to get a clear lead on how to modulize my JavaFX applications on AdoptOpenJDK, therefore, I am going to share a simple configuration for a modular project.

First off, you will need to grab a few things and move them into the right places: