i'd like to create a update function in my application.
The problem is windows... in not-windows environments i can easily replace the original .jar file but windows somehow locks the application if its already running, so i cannot overwrite it with the new version.
Does anyone here have a good idea how i could achieve this?
Is there a design pattern for updating applications?
When i create another jar which calls the application (and before that, checks if the version is correct) i must pass the information string to the update jar, but how can i get this when the version string is in a completly other project (jar)?