Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write a self-updating program in Java? [closed]

How can i make a Java program which can update itself. I make this program for use within small team. I do not need any advanced features. I just need a simple and minimal solution.

like image 238
dmay Avatar asked Jan 16 '11 15:01

dmay


1 Answers

Java Web Start is meant specifically for this. You ship one jnlp file, and java takes care of fetching the newest version from a server.

Apart from that, you can download updated classes and replace them at runtime.

like image 109
Bozho Avatar answered Oct 11 '22 06:10

Bozho