How to upgrade jpackage Application without running another installer?

Viewed 719

After a jpackage application has been installed, how can I allow my users to upgrade the application without requiring them to run the installer all over again? What options do I have to allow users to upgrade?

An ideal scenario is that the underlying jars would be swapped out at runtime, and the application would be restarted in the same process. I imagine this probably isn't possible though?

1 Answers

jpackage doesn't currently support auto update although they are planning to support it in future I think.

Until then, you can use this java library:

https://github.com/threerings/getdown

Related