Javac
Java compiler
javac (pronounced "java-see") is the primary Java compiler included in the Java Development Kit (JDK) from Oracle Corporation. Martin Odersky implemented the GJ compiler, and his implementation became the basis for javac.
The compiler accepts source code conforming to the Java language specification (JLS) and produces Java bytecode conforming to the Java Virtual Machine Specification (JVMS).
javac is itself written in Java. The compiler can also be invoked programmatically.
History
On 13 November 2006, Sun's HotSpot Java virtual machine (JVM) and Java Development Kit (JDK) were made available under the GPL license.
Since version 0.95, GNU Classpath, a free implementation of the Java Class Library, supports compiling and running javac using the Classpath runtime — GNU Interpreter for Java (GIJ) — and compiler — GNU Compiler for Java (GCJ) — and also allows one to compile the GNU Classpath class library, tools and examples with javac itself.
Adapted from the Wikipedia article, CC BY-SA 4.0. Continue on Wikipedia
Go deeper
Ideas this article links to.
- Java (programming language)Object-oriented programming language
- GNU Compiler for JavaJava compiler in GCC with direct C++ interop support
- CompilerSoftware that translates code from one programming language to another
- Self-hosting (compilers)Software that can produce new versions of itself
- Java compilerProgram compiler for Java programming language