8

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?

spierce7
  • 13,393
  • 11
  • 60
  • 97

1 Answers1

3

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

Saeid Nourian
  • 1,497
  • 13
  • 31
  • 1
    I think that getdown is the alternative I would recommend. Although I had some throubles with getdown, its benefits outweight its downsides. – Daniel Ferber Jan 29 '21 at 17:34