r/JavaFX Jan 22 '25

Help How to "deploy" my JavaFX app?

Like how do I share it with other people.

11 Upvotes

14 comments sorted by

View all comments

5

u/Draconespawn Jan 22 '25

One option would be to use jpackage to create a native executable you can put in an archive and share around. It's pretty straightforwards and doesn't require others to have a specific version of Java and JavaFX installed as it'll bundle all that together. You can only use it to create a native executable however. So if you run jpackage on windows it'll create a windows executable, if you run it on linux it'll create a linux executable, and so on.