views:

38

answers:

0

There is a standard way to compile a java class from a .java file like do the ToolProvider class of the jdk 1.6 but with Java 1.4:

JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
int result = compiler.run(null, null, null, "Hello.java");

??

Anyone have some idea. Many thanks.