Why does Java Web Start download the application the next time?
Java Web Start will always launch the application from the cache, if possible, and it will simultaneously perform a background check with the server for updates. If updates are available, then it will notify the user, and launch the update versions the next time. This approach ensures fast startup time in the common case where there is no update, and also makes sure that an application can be launched offline. For the 1.0 release, this behavior can be overwritten by adding the line javaws.cfg.forceUpdate=true in a client’s javaws.cfg file. This will force Java Web Start to check for an update the first time. Unfortunately though, setting this flag will cause offline mode to not work properly. In a future release of Java Web Start, we expect to change the behavior of the update checking to immediatly launch the newer version of the application, if an update is available, while still preserving offline launching.
Related Questions
- If Beacon is distributed as a Java Web Start application, does this mean Web Start will download the entire Beacon application (all 4Mb+ of it) everytime I run Beacon?
- Does Java Web Start download an application after the first time the application is run?
- Why does Java Web Start download the application the next time?