JavaFX Launch Failure on Ubuntu from JNI

John Neffenger john at status6.com
Wed Jan 19 23:06:05 UTC 2022


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


More information about the openjfx-dev mailing list