Javac Explained

javac
Caption:Java Compiler
Developer:Sun Microsystems
Latest Release Version:1.6.0_14
Operating System:Cross-platform
Genre:Compiler
License:GNU General Public 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]

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 [https://openjdk.dev.java.net/hotspot/ 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 the GNU Classpath class library, tools and examples with javac itself.[3]

See also

External links

Notes and References

  1. "[...]an application can access javac programmatically."Web site: JavaWorld - Java tip 131 Java Tip 131: Make a statement with javac!. Shawn Silverman. JavaWorld.com. 2002-08-30. 2008-08-09.
  2. http://www.sun.com/2006-1113/feature/story.jsp Sun opens Java (feature story)
  3. "This release supports compiling and running the GPL OpenJDK javac compiler[...]"Web site: GNU Classpath 0.95 Announcement.