Auto Updating an App
- From: "Allan Bruce" <amb@xxxxxxx>
- Date: Tue, 28 Feb 2006 10:23:52 -0000
I have my application communicate with a server to determine if there is a
newer version available. I have a native windows C++ version and a Java
version for other platforms. As far as the Java side goes, is there an easy
way to update the Jar file? i.e. my program a.jar will have a new version,
so it should download http://somewhere.com/a.jar and replace itself?
In C++ I execute another small program which grabs the file from the web,
replaces the old one and launches the new one. Is this what I will have to
do in Java? If so, how do I launch another java program? It will be
guaranteed to be in the same directory as the program a.jar. Also is there
an easy way to get a binary file from an http server, or do I have to do
that myself as I did with the C++ version?
Thanks
Allan
.
- Follow-Ups:
- Re: Auto Updating an App
- From: Roedy Green
- Re: Auto Updating an App
- From: Roedy Green
- Re: Auto Updating an App
- From: Roedy Green
- Re: Auto Updating an App
- From: VisionSet
- Re: Auto Updating an App
- Prev by Date: Re: Reverse Numbers
- Next by Date: Re: Auto Updating an App
- Previous by thread: Reverse Numbers
- Next by thread: Re: Auto Updating an App
- Index(es):
Relevant Pages
|