You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the updater puts jars in a temporary directory that is consolidated by the launcher on launching. This is primarily to work around the aggressive .jar locking by Windows.
Java 7 introduced the URLClassLoader.close method, which will free up any jars loaded by the ClassLoader for deletion/overwriting.
This will require careful consideration of ClassLoader hierarchy but will allow for a simpler launcher. It would be good to combine with compile and run work as well, as that could also involve ClassLoader restructuring.
The text was updated successfully, but these errors were encountered:
We are switching the Fiji launcher to a new one we made called Jaunch. Jaunch does include the same logic for stashing updates in a special update folder. This is more robust than assuming your running Java program will always let go of file locks on Windows. It's fine; it works. 😄
Currently the updater puts jars in a temporary directory that is consolidated by the launcher on launching. This is primarily to work around the aggressive
.jar
locking by Windows.Java 7 introduced the
URLClassLoader.close
method, which will free up any jars loaded by theClassLoader
for deletion/overwriting.This will require careful consideration of
ClassLoader
hierarchy but will allow for a simpler launcher. It would be good to combine with compile and run work as well, as that could also involveClassLoader
restructuring.The text was updated successfully, but these errors were encountered: