Java architecture

2,640 views 7 slides Dec 20, 2019
Slide 1
Slide 1 of 7
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7

About This Presentation

Simply way to understanding the Architcture of JAVA


Slide Content

JAVA ARCHITECTURE What is Java Architecture Components of Java - Rakesh Vadnala

Java Architecture combine the process of Compilation and Interpretation . Compilation : A Compiler reads program in one-go and gives output if the program is correct else an error. Interpretation : It reads a program Line-by-Line. Reading every expression gives output if the program is correct. It gives error when it encounters the first mistake in any line of code.

architecture Source Code Compiler JAVA VIRTUAL MACHINE (JVM) Byte code OPERATIG SYSTEM (OS) Java code converted into Byte code which is done by Java Compiler. Byte code converted into Machine Code is done by JVM. The machine code which is executed directly by Machine i.e., OS.

Components of java architecture 1. JVM 2. JRE 3. JDK JDK JRE JVM +Development Tools +Library Classes

Development Tools : java, javac, jar, Javadoc Library classes : Packages, Classes lang util net Etc.. Stack System Math Scanner Socket URL Packages Classes

JVM (JAVA VIRTUAL MACHINE) The JVM is a Java platform component that provides an environment for executing Java programs. JVM interprets the bytecode into machine code which is executed in the machine in which the Java program runs . Java Applications are called WORA (Write Once Run Anywhere).

Jvm architecture . class Class Loader Method Area Heap Stack Native Stack JVM MEMORY Native Interface Native Libraries JIT Compiler Garbage Collector Execution Engine