It is possible to add a path to the classpath dynamically, see Can a directory be added to the class path at runtime?.
My question is the opposite: is it possible to remove a directory from the class path dynamically?
It is possible to add a path to the classpath dynamically, see Can a directory be added to the class path at runtime?.
My question is the opposite: is it possible to remove a directory from the class path dynamically?