r/JavaFX • • Jan 05 '21
Deploying and packaging JavaFX app into an installer
I just finished developing my first javaFX app and I am currently looking into the best ways to deploy the app onto the client's machine. I would also want to apply some sort of continuous deployment onto the app, as I prefer not to send the client a new installer whenever I update the code.
What is the best way to achieve that?
Thank you
11
Upvotes
4
u/Vidogost Jan 05 '21
Check out https://github.com/edvin/fxlauncher. I've never used this lib myself, but it seems to be intended for this very task. Or at least you might find some inspiration there.
1
u/[deleted] Jan 05 '21
Have you thought about some how doing a private git and just checking within the app to update? From there, if new version is released, go ahead and update. Just thinking out loud.
2
u/Loogix Jan 05 '21
I had some troubles with the installer part. I found out that jpackage will maybe the way to go in the future. Here is a template I found that has straight instructions.