KnowledgeBoat Logo

Computer Applications

Describe the Java compilation process with a suitable diagram.

Java Intro

ICSE

127 Likes

Answer

In Java compilation process, the source code of a Java program is compiled to an intermediate binary code called the Bytecode. This Bytecode cannot be directly executed by the machine. It is understood by a virtual machine known as Java Virtual Machine or JVM. JVM contains a Java interpreter which converts the Bytecode into machine code of the target computer. JVM is platform specific i.e. each platform has its own JVM. But once the proper JVM is installed on the machine, it can run any Java Bytecode program. The below diagram illustrates this:

ICSE Logix class 10 solutions illustrating Java Compilation Process

Answered By

98 Likes


Related Questions