一种方法似乎是使用 java.lang.Compiler
我尝试在 Eclipse 中使用 java.lang.Compiler 并且不了解Object any该类方法的参数?上课似乎也没有用。
Compiler.command(any) // what is meant by any? What are valid objects to put there?
Compiler.compileClass(clazz) // Nothing happens when I out a class in there?
Compiler.compileClasses(string) // hm?
如何在 Eclipse 中使用编译器打印 hello 消息...?