using javax.tools.JavaCompiler etc

511 Views Asked by At

I am looking for working examples of Oracle's Java Compiler API usage. I want to build something close to javac to customize/extend errors logging capabilities.

1

There are 1 best solutions below

0
On BEST ANSWER

See the STBC (the SSCCE Text Based Compiler). The source is available in stbc.zip.

Compilation failed Compiled OK