Jump to content

javac

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Randomly generated username (talk | contribs) at 22:06, 16 September 2017 (Fixed broken hotspot link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
javac
Written inJava[1]
Operating systemCross-platform
TypeCompiler
LicenseGNU General Public License
Websitewww.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. 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 bytecode conforming to the Java Virtual Machine Specification (JVMS).

javac is itself written in Java. The compiler can also be invoked programmatically.[3]

History

On 13 November 2006, Sun's Java Virtual Machine (JVM) and Java Development Kit (JDK) were made available[4] 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 the GNU Classpath class library, tools and examples with javac itself.[5]

See also

References

  1. ^ Lextrait, Vincent (January 2010). "The Programming Languages Beacon, v10.0". Archived from the original on 30 May 2012. Retrieved 14 March 2010. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
  2. ^ "Preface to Java Generics".
  3. ^ "[...]an application can access javac programmatically." Shawn Silverman (2002-08-30). "Java Tip 131: Make a statement with javac!". JavaWorld.com. Retrieved 2008-08-09.
  4. ^ Sun opens Java (feature story)
  5. ^ "This release supports compiling and running the GPL OpenJDK javac compiler[...]" "GNU Classpath 0.95 Announcement".