I'm trying to write a program that loads Java source by class name, compiles it and executes it dynamically. The problem I an having is that the compiler portion of the code doesn't seem to work. When I attempt to compile using the java.lang.Compiler class, I get a failure to compile.
Has anyone used this class? Can you provide some source?