Using the jpackager

Lennart Börjeson lenborje at
Fri Nov 9 14:04:08 UTC 2018

I've been trying to understand how to use the jpackager, but I'm stumped.

I have for a long been using the now defunct gradle-javafx plugin, so I've never really used the old javapackager either, only indirectly through gradle.

So I'm maybe asking terribly noob questions, but here goes:

Let's say I have a non-modular application packaged as an executable jar, i.e. a GUI I can launch with the "java -jar" command: How can I package this as a native application/dmg with jpackager?

On a more general note: What's the required layout/contents of the "input directory"?

Best regards,

/Lennart Börjeson

More information about the openjfx-dev mailing list