| java.lang.Object | |
| ↳ | sun.tools.javac.Main |
This class is deprecated.
As of J2SE 1.3, the preferred way to compile Java
language sources is by using the new compiler,
com.sun.tools.javac.Main.
Main program of the Java compiler WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | EXIT_ABNORMAL | ||||||||||
| int | EXIT_CMDERR | ||||||||||
| int | EXIT_ERROR | ||||||||||
| int | EXIT_OK | Exit status. | |||||||||
| int | EXIT_SYSERR | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
sun.tools.java.Constants
| |||||||||||
From interface
sun.tools.java.RuntimeConstants
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
sun.tools.java.Constants
| |||||||||||
From interface
sun.tools.java.RuntimeConstants
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Run the compiler
| |||||||||||
get and format message string from resource
| |||||||||||
Main program
| |||||||||||
Print usage message and make exit status an error.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Exit status. We introduce a separate integer status variable, and do not alter the convention that 'compile' returns a boolean true upon a successful compilation with no errors. (JavaTest relies on this.)
Print usage message and make exit status an error. Note: 'javac' invoked without any arguments is considered be an error.