Java Compiler API

These tutorials demonstrate how to compile java source code programmatically and other related feature. The javax.tools package was added to Java SE 6 as a standard API for compiling Java source which lets you add dynamic capabilities to extend static applications. These tutorials provide a quick description of the major classes in the package and demonstrate how to use them to compile Java source from files or from generated strings, and load them in the same JVM process without restarting.