Using the jpackager

Nir Lisker nlisker at
Fri Nov 9 14:17:36 UTC 2018

There are some instructions in the JEP [1]. They show how to create a dmg.


On Fri, Nov 9, 2018 at 4:06 PM Lennart Börjeson <lenborje at> wrote:

> 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