Java compiler: Difference between revisions

Content deleted Content added
No edit summary
Undid revision 226442836 by 79.185.248.101 (talk)
Line 1:
In [[computing]], a '''Java compiler''' is a [[compiler]] for the [[Java (programming language)|Java programming language]]. The most common form of output from a Java compiler is [[Class (file format)|Java class files]] containing platform-neutral [[Java bytecode]]. There exist also compilers emitting optimized [[Machine code|native machine code]] for a particular hardware/[[Operating system]] combination.
 
Most Java-to-bytecode compilers, [[jebaćJikes]] being a well known exception, do virtually no [[Optimization (computer science)|optimization]], leaving this until [[runtime]] to be done by the [[JRE]]{{Fact|date=April 2007}}.
 
The [[Java Virtual Machine]] (JVM) loads the class files and either [[interpreter (computing)|interprets]] the [[bytecode]] or [[just-in-time compilation|just-in-time]] compiles it to [[machine code]] and then possibly optimizes it using [[dynamic compilation]].