Professional Documents
Culture Documents
This article is about Sun's Java compiler. For a general article about Java compilers, see Java compiler.
javac
Developer(s)
Sun Microsystems
Stable release
Type
Compiler
License
Website
http://www.oracle.com/technetwork/java/javase/downloads/index.html
javac (pronounced "java-see") is the primary Java compiler, included in the Java Development Kit (JDK) from Oracle Corporation. The compiler accepts source code conforming to the Java language specification (JLS) and produces bytecode conforming to the Java Virtual Machine Specification (JVMS).
javac is itself written in Java. The compiler can also be invoked programmatically.[1]
Contents
[hide]
[edit]History
On 13 November 2006, Sun's Java Virtual Machine (JVM) and Java Development Kit (JDK) were made available [2] under the GPL license (see Sun's OpenJDK Hotspot page). Since version 0.95, GNU Classpath, a free implementation of the Java Class Library, supports compiling and running javac using the Classpath runtime (GIJ) and compiler (GCJ), and also allows one to compile theGNU Classpath class library, tools and examples with javac itself.[3]
[edit]See
also
Java compiler for a general presentation of Java compilers, and a list of other existing alternative compilers.
[edit]References
1.
^ "[...]an application can access javac programmatically." Shawn Silverman (2002-08-30). JavaWorld - Java tip 131 "Java Tip 131: Make a statement with javac!". JavaWorld.com. Retrieved 2008-08-09.
2. 3.
^ Sun opens Java (feature story) ^ "This release supports compiling and running the GPL OpenJDK javac compiler[...]" "GNU Classpath 0.95 Announcement".
[edit]External
links
Sun's OpenJDK javac page The Java Virtual Machine Specification JSR 199 Java Compiler API Java Specification Request for invoking the Java compiler from a Java program