Friday, March 16, 2007

JavaCompilerTool

javax.tools.JavaCompilerTool
It is a JDK 1.6+ interface that lets the Java program fire up the Java compiler, (usually javac.exe) and compile Java source, all under the program's control, in a platform-independent way.

We can use it to compile code that exists only in RAM. We can generate the source code on the fly, compile it, and execute it.

Please find in some interesting pointers related to JavaCompilerTool:

http://www.javalobby.org/java/forums/m91985882.html
http://www.velocityreviews.com/forums/t318697-javacompilertool.html

Thanks.

No comments:


_________________________________________________________________________________________________________________

"Look at the sky. We are not alone. The whole Universe is friendly to us and conspires only to give the best to those who dream and work."

- Dr. A P J Abdul Kalam
_________________________________________________________________________________________________________________