Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#53 build automatic updates for your java application

Next Release
open
nobody
General (39)
5
2009-11-06
2009-11-06
Dragos Pruteanu
No

Hi,
I am looking to build an automatic updates system for my application. I can download the updates zip packadge from my website via the application, this is no problem.
The problem I have is when I need to replace the existing jar libraries with the downloaded onece.
Since the old libraries are in the classpath, the files are locked and cannot be re-writed.
Is any way to run 2 applications from launch4j, so I ican run first the updater code ( with one classpath ) and than the application ( with a new classpath ) ?
Or maybe you know some other way ?
Thank you for help,
Dragos

Discussion