title: Java Classloader does not release file handle under Windows
body: <p>An application needs to load classes from jars that are supplied at runtime. These jars are supposed to be deleted and replaced by other jars, during runtime, which fails because, it would seem, the ClassLoader does not release the file handle aquired on the jars.</p>
  
  <p>Is this a known problem? Is there a classloader available that does not have this problem?</p>
  
  <p>Edit: The use case is not about loading different versions of the same class, but loading different implementations of the same interface. The classes implement an interface with an "execute" method that the application will have to call. So while an unload mechanism for classes would also be useful in this context, this is not the primary use case.</p>