jdk.compiler
module for details on replacement APIs.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: an integer equivalent to the exit value from invoking javac, see the man page for details.The command line arguments that would normally be
passed to the javac program as described in the man page. args)Programmatic interface to the Java Programming Language compiler, javac. |
| public static int | Returns: an integer equivalent to the exit value from invoking javac, see the man page for details.The command line arguments that would normally be
passed to the javac program as described in the man page. args, PrintWriter PrintWriter to which the compiler's diagnostic
output is directed. out)Programmatic interface to the Java Programming Language compiler, javac. |
| public static void |
| Main | back to summary |
|---|---|
| public Main()
Deprecated for removal since 16. Do not call.
| |
| compile | back to summary |
|---|---|
| public static int compile(String[] args) Programmatic interface to the Java Programming Language compiler, javac.
| |
| compile | back to summary |
|---|---|
| public static int compile(String[] args, PrintWriter out) Programmatic interface to the Java Programming Language compiler, javac.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws Exception Main entry point for the launcher. Note This method calls System.exit. | |