Comment Re:Scripting with .NET (Score 5, Informative) 100
In Java, you can't unload code/type from the classpath (core classes you had when you started java) but if the class comes from a different classloader (created at runtime), you can do pretty much what you want... if you own the classloader...
The only limitation is that the class must not be on the classpath (for security reason). This is also how you can have the same class but with different version on the same VM.
See : http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ ClassLoader.html
The only limitation is that the class must not be on the classpath (for security reason). This is also how you can have the same class but with different version on the same VM.
See : http://java.sun.com/j2se/1.4.2/docs/api/java/lang