javac
| javac | |
|---|---|
| Repository |
|
| Written in | Java[1] |
| Engine | |
| Operating system | Cross-platform |
| Type | Compiler |
| License | GNU General Public License |
| Website | www |
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.[2]
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.[3]
History
[edit | edit source]On 13 November 2006, Sun's HotSpot Java virtual machine (JVM) and Java Development Kit (JDK) were made available[4] under the GPL license.[5]
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.[6]
See also
[edit | edit source]Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
- Java compiler – for a general presentation of Java compilers, and a list of other existing alternative compilers.
- Java Platform
- OpenJDK
References
[edit | edit source]- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Sun's OpenJDK Hotspot page
- ^ "This release supports compiling and running the GPL OpenJDK javac compiler[...]" site visit (narrow); open slide( Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
External links
[edit | edit source]- The Compiler Group
- JSR 199 Java Compiler API Java Specification Request for invoking the Java compiler from a Java program
- Mercurial repository
- Java Language Specification