I am writing a simple system to auto-update my program and I need to be able to download jar files from a URL.
I'm not sure I quite understand the JarURLConnection/Jar-streams in the docs. Could someone give me some example code on how to do this?
Also, how do you run them? Desktop.getDesktop.open(jar) ?
P.S: Before anyone suggests it, yes I know about JWS. No I don't want to use it with this program