I am loading a jar file with a JarClassLoader
. After the jar file is loaded, I want to delete the file. Everything works fine except for deleting the file because the file is kept in use by the Java jvm. How do I unlock the jar? I am already closing all my inputstreams
and closing the urlclassloader
.
Thank you, Ridz