How can I write a Java application that can update itself at runtime?
The basic structure of a solution is as follows: There is a main loop responsible for repeatedly loading the latest version of the app (if required) and launching it. The application does its thing, but periodically checks the download URL. If it detects a new version it exits back to the launcher. There are a … Read more