The idea is to check for updates while the application is running. The update consists of one main jar and a couple of third party jars. If updates are available:
- Download them
- Put them in a temp directory
- Add a shutdown hook that replaces all the actual jars with the jars from the temp directory
Is this a good idea?