Skip to content
Advertisement

Automatically update jar files

I am currently working on desktop software based on java.It’s quite a big code base (more than 40 jar files).

I wish to provide an automatic update functionality. The desktop software constantly checks one back end system to see if there are new versions of the jar files available.

The problem now is: How to replace the updated jar files?

Advertisement

Answer

If you deploy your application using Java Webstart (JNLP), you get this mechanism almost for free…

From http://mindprod.com/jgloss/javawebstart.html

The key benefit for Java Web Start is automatic update without having to download the entire program every time.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement