r/JavaFX • u/MrAbc-42 • Jul 07 '24
Help How to deploy a self-contained JavaFX application using Maven?
I built a small desktop application for myself in javafx/maven. And I would like to be able to install it on my computer without having to worry about whether it has Java or not or whether it has JavaFX. What is currently the best approach to accomplish this?
5
Upvotes
View all comments
Show parent comment
1
u/hikingmike Jul 19 '24
Hi Steve, I came across your project several times with googling/reddit and read briefly through your documentation - super impressive. I love what this is doing since I want to provide a desktop Java app to my users.
I have some questions though. It appears this publishes to a public download page. I see there is an option to build bundles locally. However it seems that it still publishes to npm "When building your bundles locally, you still need to ensure that you run
jdeploy publishto publish your app on npm, as the launcher relies on your published package for the automatic updates feature."Is there a way to build locally and not make anything public? I have apps that are technical tools for our company and are a competitive advantage so we can't just make them public. I don't need automatic updates. I share them internally myself as needed.