I need to load classes from jars, to do it I'm using:
cls = Class.forName(className, false, classLoader);
At the end, I want to delete these jars, but it seems that this is not possible because ClassLoader does not release the jars. So I used:
classLoader.release();
System.gc();
But unfortunately this does not solve the problem...