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,