On 1/19/22 2:12 PM, Steve Hannah wrote:
I have been resisting using modules for a long time because it just makes
things more complicated, ...

It also makes some things easier, though, and certainly smaller. It's easier to use an old-school Makefile with modules, and using 'jlink' can get a simple Hello World JavaFX application and Java runtime down to just 31 megabytes.

Here's my minimal, no-magic example:

https://github.com/jgneff/hello-javafx

with a simple Makefile:

https://github.com/jgneff/hello-javafx/blob/main/Makefile

and a Maven POM for use online with Maven Central or offline with a local Debian- or Ubuntu-built Maven repository:

https://github.com/jgneff/hello-javafx/blob/main/pom.xml

John

Reply via email to