Javac

From Wikipedia, the free encyclopedia
Revision as of 09:46, 11 October 2024 by imported>Meno25 (See also)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Script error: No such module "about". Template:Lowercase Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".Template:Main other 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.[1]

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.[2]

History

On 13 November 2006, Sun's HotSpot Java virtual machine (JVM) and Java Development Kit (JDK) were made available[3] under the GPL license.[4]

Since version 0.95, GNU Classpath, a free implementation of the Java Class Library, supports compiling and running javac using the Classpath runtimeGNU 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.[5]

See also

Script error: No such module "Portal".

References

Template:Reflist

External links

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Sun's OpenJDK Hotspot page
  5. "This release supports compiling and running the GPL OpenJDK javac compiler[...]" site visit (narrow); open slide( Script error: No such module "citation/CS1".