0% found this document useful (0 votes)
17 views22 pages

Java Compilation and Interpretation Guide

The document explains the differences between an interpreter and a compiler in Java programming, highlighting that an interpreter reads and executes code line by line while a compiler converts the entire source code into machine code. It also discusses the Java compilation process, where source code is transformed into bytecode, which must be further converted to machine code for execution. Additionally, it provides acronyms related to Java, such as JDK, JVM, JRE, API, and JIT.

Uploaded by

sramutha78
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views22 pages

Java Compilation and Interpretation Guide

The document explains the differences between an interpreter and a compiler in Java programming, highlighting that an interpreter reads and executes code line by line while a compiler converts the entire source code into machine code. It also discusses the Java compilation process, where source code is transformed into bytecode, which must be further converted to machine code for execution. Additionally, it provides acronyms related to Java, such as JDK, JVM, JRE, API, and JIT.

Uploaded by

sramutha78
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

INTERPRETER CLASS : IX

INTRODUCTION TO
JAVA is a program that reads a
An interpreter
source program line by line, converts each
line into its equivalent machine code and
executes it. As it reads the program
line by line so the errors are reported one
by one.
ORDINARY COMPILATION CLASS : XI
PROCESS
Compiler converts Java source code into Machine Code
directly. (Platform dependent)
Compiler for
MACHINTOSH Machine Code for
MACINTOSH

SOURCE Compiler for Machine Code for


PROGRAM WINDOWS WINDOWS

Compiler for Machine Code for


UNIX UNIX
JAVA COMPILATION CLASS : XI
PROCESS
Byte code
Java compiler converts Java source code into an
intermediate binary code called Bytecode. Bytecode can't
be executed directly on the processor. It needs to be
converted into Machine Code.
JAVA COMPILATION CLASS : XI
PROCESS

MACHINTOSH
JAVA COMPILATION CLASS : XI
PROCESS
JAVA COMPILATION CLASS : XI
PROCESS
JAVA COMPILATION CLASS : XI
PROCESS
JAVA COMPILATION CLASS : XI
PROCESS
JAVA COMPILATION CLASS : XI
PROCESS
JAVA COMPILATION CLASS : XI
PROCESS
JAVA COMPILATION CLASS : XI
PROCESS
CLASS : IX
Simple Java Program :-
CLASS : IX
Simple Java Program :-
CLASS : IX
Simple Java Program :-
Features of CLASS : XI
Java
ACRONYMNS:- CLASS : IX

JDK – Java Development Kit


JVM – Java Virtual
Machine
JRE – Java Runtime Environment
API – Application Programming
Interface
JIT – Just In Time compiler
ACRONYMNS:- CLASS : IX

JDK – Java Development Kit


JVM – Java Virtual
Machine
JRE – Java Runtime Environment
API – Application Programming
Interface
JIT – Just In Time compiler
ACRONYMNS:- CLASS : IX

JDK – Java Development Kit


JVM – Java Virtual
Machine
JRE – Java Runtime Environment
API – Application Programming
Interface
JIT – Just In Time compiler
ACRONYMNS:- CLASS : IX

JDK – Java Development Kit


JVM – Java Virtual
Machine
JRE – Java Runtime Environment
API – Application Programming
Interface
JIT – Just In Time compiler
ACRONYMNS:- CLASS : IX

JDK – Java Development Kit


JVM – Java Virtual
Machine
JRE – Java Runtime Environment
API – Application Programming
Interface
JIT – Just In Time compiler
ACRONYMNS:- CLASS : IX
ACRONYMNS:- CLASS : IX

You might also like