Java bytecode: Difference between revisions

Content deleted Content added
Generating bytecode: Jython added, formatting
Line 11:
The most common language targeting [[Java Virtual Machine]] by producing Java bytecode is Java. Originally only one compiler existed, the [[javac]] compiler from Sun Microsystems, which compiles [[Java source code]] to Java bytecode; but because all the specifications for Java bytecode are now available, other parties have supplied compilers that produce Java bytecode. Examples of other compilers include:
 
* [[Jikes]], compiles from the Java programming language to Java bytecode (developed by [[IBM]], implemented in [[C++]])
* Espresso, compiles from the Java programming language to Java bytecode, only (Java 1.0 only)
* [[GCJ|]], the Gnu Compiler for Java]], GCJ, compiles from the Java programming language to Java bytecode,; it is also able to compile to native machine code and is available as part of the [[GNU compiler collection|GNU Compiler Collection (GCC)]].
 
Some projects provide Java assemblers to enable writing Java bytecode by hand. Assembler code may be also generated by machine, for example by compiler targeting [[Java virtual machine]]. Notable Java assemblers include:
Line 21:
Others developed compilers for different programming languages targeting Java virtual machine, such as
* [[JGNAT]] and [[AdaMagic|AppletMagic]], compile from the [[Ada programming language]] to Java bytecode
* [[Groovy programming languageJython]], Aa [[scripting language]] based on Java[[Python (programming language)|Python]]
* [[Groovy (programming language)|Groovy]], a [[scripting language]] based on Java
* [[C to Java byte-code compiler]]s