SlideShare a Scribd company logo
3
Most read
4
Most read
7
Most read
Presentated By:
Mahnoor Hashmi
Subject:
Java Programming Language
Presentation
Java Byte code
 Java is a programming language originally
developed by James Gosling at Sun Microsystems.
 The language drives much of its syntax from
C and C++ but has a simpler object model.
 Java applications are typically compiled to
byte code (class file) that can run on any Java
Virtual Machine (JVM).
Java Byte Code
 Byte codes are the machine language of the java
virtual machine. A feature that different the java
with other programming features.
 It is a programming code that, once compiled, is run
through a virtual machine.
 Byte code is the compiled format for Java programs.
 Once a Java program has been converted to byte code,
it can be transferred across a network and executed
by Java Virtual Machine (JVM).
Virtual Machine
o Before understanding what is JVM let us first
know what is Virtual Machine.
A virtual machine is a layer of abstraction that
gives a program one simplified interface for
interacting with a variety of physical
computers and their operating systems.
Java Virtual Machine
 The Java Virtual Machine (JVM) is the runtime engine of
the Java Platform, which allows any program written
in Java or other language compiled into Java byte code to
run on any computer that has a native JVM.
 The byte code can be executed on any platform where
there exist JVM. It is available for many hardware and
software platforms.
 JVM executes the step-by-step instructions given to
it from the byte code.
z
 JVM provides run time environment in which java byte code
can be executed.
 When program compiles, the java compiler translates the
java source code into a .class file
(byte codes) that contains the compiled version of program.
 Byte codes are platform independent and proves Java is an
independent language. JVM can run on different operating
systems.
 Java Class File:
Java class file is a file (with the .class extension)
containing a Java byte code which can be
executed on the Java Virtual Machine (JVM).
Components of JVM:
 Byte code verifier.
 Class loader.
 Execution engine.
 Garbage collector.
 Security manager.
Byte Code Verifier:
 Used to verify the byte code.
 Checks for unusual code.
 A crucial component for security.
Class loader:
 Loads java classes into JVM.
 All JVM include one class loader that is
embedded in the virtual machine.
 The main feature of the class loader is that
JVM. doesn’t need to have any knowledge
about the classes that will be loaded at
runtime.
Execution Engine:
 Helps JVM to convert byte code into machine
code using interpreter.
Garbage Collector:
 Process of automatically freeing objects that are
no longer referenced by the program.
 Relieves java programmer from memory
management.
Security Manager:
 Monitors the code.
 A special java object responsible for guarding
security policies for java applications.
Java byte code presentation
Ad

Recommended

1.Role lexical Analyzer
1.Role lexical Analyzer
Radhakrishnan Chinnusamy
 
Java-java virtual machine
Java-java virtual machine
Surbhi Panhalkar
 
Direct linking loader
Direct linking loader
babyparul
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
swapnac12
 
8 queens problem using back tracking
8 queens problem using back tracking
Tech_MX
 
Method overriding
Method overriding
Azaz Maverick
 
Exception handling
Exception handling
PhD Research Scholar
 
First and follow set
First and follow set
Dawood Faheem Abbasi
 
Java packages
Java packages
BHUVIJAYAVELU
 
JVM
JVM
baabtra.com - No. 1 supplier of quality freshers
 
Java Tokens
Java Tokens
Madishetty Prathibha
 
Moore and mealy machine
Moore and mealy machine
Mian Munib
 
Loader and Its types
Loader and Its types
Parth Dodiya
 
Java Exception handling
Java Exception handling
kamal kotecha
 
Code generation
Code generation
Aparna Nayak
 
Top Down Parsing, Predictive Parsing
Top Down Parsing, Predictive Parsing
Tanzeela_Hussain
 
Syntax Directed Definition and its applications
Syntax Directed Definition and its applications
ShivanandManjaragi2
 
Strings in Java
Strings in Java
Abhilash Nair
 
Principle source of optimazation
Principle source of optimazation
Siva Sathya
 
Presentation on-exception-handling
Presentation on-exception-handling
Nahian Ahmed
 
Inter Thread Communicationn.pptx
Inter Thread Communicationn.pptx
SelvakumarNSNS
 
Java package
Java package
CS_GDRCST
 
Instruction format
Instruction format
Sanjeev Patel
 
Super Keyword in Java.pptx
Super Keyword in Java.pptx
KrutikaWankhade1
 
Type casting in java
Type casting in java
Farooq Baloch
 
Java byte code & virtual machine
Java byte code & virtual machine
Laxman Puri
 
Lexical Analysis
Lexical Analysis
Nayemid4676
 
History of java'
History of java'
deepthisujithra
 
JVM.pptx
JVM.pptx
ParvathiPPSGRKCW
 
Java virtual machine
Java virtual machine
baabtra.com - No. 1 supplier of quality freshers
 

More Related Content

What's hot (20)

Java packages
Java packages
BHUVIJAYAVELU
 
JVM
JVM
baabtra.com - No. 1 supplier of quality freshers
 
Java Tokens
Java Tokens
Madishetty Prathibha
 
Moore and mealy machine
Moore and mealy machine
Mian Munib
 
Loader and Its types
Loader and Its types
Parth Dodiya
 
Java Exception handling
Java Exception handling
kamal kotecha
 
Code generation
Code generation
Aparna Nayak
 
Top Down Parsing, Predictive Parsing
Top Down Parsing, Predictive Parsing
Tanzeela_Hussain
 
Syntax Directed Definition and its applications
Syntax Directed Definition and its applications
ShivanandManjaragi2
 
Strings in Java
Strings in Java
Abhilash Nair
 
Principle source of optimazation
Principle source of optimazation
Siva Sathya
 
Presentation on-exception-handling
Presentation on-exception-handling
Nahian Ahmed
 
Inter Thread Communicationn.pptx
Inter Thread Communicationn.pptx
SelvakumarNSNS
 
Java package
Java package
CS_GDRCST
 
Instruction format
Instruction format
Sanjeev Patel
 
Super Keyword in Java.pptx
Super Keyword in Java.pptx
KrutikaWankhade1
 
Type casting in java
Type casting in java
Farooq Baloch
 
Java byte code & virtual machine
Java byte code & virtual machine
Laxman Puri
 
Lexical Analysis
Lexical Analysis
Nayemid4676
 
History of java'
History of java'
deepthisujithra
 

Similar to Java byte code presentation (20)

JVM.pptx
JVM.pptx
ParvathiPPSGRKCW
 
Java virtual machine
Java virtual machine
baabtra.com - No. 1 supplier of quality freshers
 
Java Virtual Machine (JVM) and just in time compilation
Java Virtual Machine (JVM) and just in time compilation
ArunKumarPandey43
 
Lecture java variable , data type, token
Lecture java variable , data type, token
ChandrashekharSingh859453
 
Introduction to Java Programming
Introduction to Java Programming
Saravanakumar R
 
Lecture java01
Lecture java01
jawidAhmadRohani
 
JVM.pptx
JVM.pptx
V.V.Vanniaperumal College for Women
 
java intro.pptx
java intro.pptx
MangaiyarkarasiDurai
 
Java virtual machine
Java virtual machine
Nikhil Sharma
 
What is-java
What is-java
Shahid Rasheed
 
Java introduction
Java introduction
Kuppusamy P
 
intoduction to java
intoduction to java
SIVASHANKARIRAJAN
 
What is Java
What is Java
3trg
 
basic core java up to operator
basic core java up to operator
kamal kotecha
 
Unit1 JAVA.pptx
Unit1 JAVA.pptx
RahulAnand111531
 
Core Java Programming Language (JSE) : Chapter I - Getting Started
Core Java Programming Language (JSE) : Chapter I - Getting Started
WebStackAcademy
 
Java Introduction | PDF
Java Introduction | PDF
Geekster
 
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
10322210023
 
Introduction to Java
Introduction to Java
Ankita Totala
 
JVM Architecture – How It Works.pdf
JVM Architecture – How It Works.pdf
Geekster
 
Ad

Recently uploaded (20)

Nueva presentación para diapositivas de power point.pdf
Nueva presentación para diapositivas de power point.pdf
SubaruKun1
 
Austin TX Connecting Neighborhoods Presentation
Austin TX Connecting Neighborhoods Presentation
American Institute of Architects
 
Grade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptx
Grade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptx
MaKristinaBuenaventu1
 
Syrian politician opposition Randa Kassis
Syrian politician opposition Randa Kassis
mo820325
 
最新版美国北密歇根大学毕业证(NMU毕业证书)原版定制
最新版美国北密歇根大学毕业证(NMU毕业证书)原版定制
Taqyea
 
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
mbkl05cctjv
 
Indian_Constitution_Presentation.pptx , images
Indian_Constitution_Presentation.pptx , images
jaglandushyant
 
Marketplaces to Buy and Sell Social Media Accounts.pdf
Marketplaces to Buy and Sell Social Media Accounts.pdf
jamedthomsn
 
Exploring the Diverse Types of Textual Aids
Exploring the Diverse Types of Textual Aids
jenicahmendoza1
 
Computer Aided Design Introduction Lecture
Computer Aided Design Introduction Lecture
ShavinGopee2
 
MULTI SENSORY EXPERIENCE DESIGN RESEARCH
MULTI SENSORY EXPERIENCE DESIGN RESEARCH
Samuel Thuo
 
The_Sciencehggshshs_of_Everyday_Luck.pptx
The_Sciencehggshshs_of_Everyday_Luck.pptx
zyx10283746
 
strees management for iuyagvdywyyqwdghuvuy.pptx
strees management for iuyagvdywyyqwdghuvuy.pptx
moonahish27
 
User Persona for a fitness CEO Founder
User Persona for a fitness CEO Founder
modele dawodu
 
Formal Informal Apology letter.pptxvvvvv
Formal Informal Apology letter.pptxvvvvv
iqlimajurayeva
 
Internet Download Manager (IDM) Crack Free Download 2025
Internet Download Manager (IDM) Crack Free Download 2025
Designer
 
fire123xx2-blogspot-com-2025-06-fire-certificate-requirements-in-html.pdf
fire123xx2-blogspot-com-2025-06-fire-certificate-requirements-in-html.pdf
riyaarenainfosloutio
 
SUN PATH AND SHADOW ANGLESarchitrcture.pdf
SUN PATH AND SHADOW ANGLESarchitrcture.pdf
14ANUSHAVPARCHI
 
Figure.pptxfyytytyrrytrtytrttttrrttyyyyuuu
Figure.pptxfyytytyrrytrtytrttttrrttyyyyuuu
RandiAnugerah1
 
Digital Poster PPT.pptx..............................
Digital Poster PPT.pptx..............................
AhmedAboElSeoud3
 
Nueva presentación para diapositivas de power point.pdf
Nueva presentación para diapositivas de power point.pdf
SubaruKun1
 
Grade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptx
Grade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptxGrade-9-COT.pptx
MaKristinaBuenaventu1
 
Syrian politician opposition Randa Kassis
Syrian politician opposition Randa Kassis
mo820325
 
最新版美国北密歇根大学毕业证(NMU毕业证书)原版定制
最新版美国北密歇根大学毕业证(NMU毕业证书)原版定制
Taqyea
 
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
mbkl05cctjv
 
Indian_Constitution_Presentation.pptx , images
Indian_Constitution_Presentation.pptx , images
jaglandushyant
 
Marketplaces to Buy and Sell Social Media Accounts.pdf
Marketplaces to Buy and Sell Social Media Accounts.pdf
jamedthomsn
 
Exploring the Diverse Types of Textual Aids
Exploring the Diverse Types of Textual Aids
jenicahmendoza1
 
Computer Aided Design Introduction Lecture
Computer Aided Design Introduction Lecture
ShavinGopee2
 
MULTI SENSORY EXPERIENCE DESIGN RESEARCH
MULTI SENSORY EXPERIENCE DESIGN RESEARCH
Samuel Thuo
 
The_Sciencehggshshs_of_Everyday_Luck.pptx
The_Sciencehggshshs_of_Everyday_Luck.pptx
zyx10283746
 
strees management for iuyagvdywyyqwdghuvuy.pptx
strees management for iuyagvdywyyqwdghuvuy.pptx
moonahish27
 
User Persona for a fitness CEO Founder
User Persona for a fitness CEO Founder
modele dawodu
 
Formal Informal Apology letter.pptxvvvvv
Formal Informal Apology letter.pptxvvvvv
iqlimajurayeva
 
Internet Download Manager (IDM) Crack Free Download 2025
Internet Download Manager (IDM) Crack Free Download 2025
Designer
 
fire123xx2-blogspot-com-2025-06-fire-certificate-requirements-in-html.pdf
fire123xx2-blogspot-com-2025-06-fire-certificate-requirements-in-html.pdf
riyaarenainfosloutio
 
SUN PATH AND SHADOW ANGLESarchitrcture.pdf
SUN PATH AND SHADOW ANGLESarchitrcture.pdf
14ANUSHAVPARCHI
 
Figure.pptxfyytytyrrytrtytrttttrrttyyyyuuu
Figure.pptxfyytytyrrytrtytrttttrrttyyyyuuu
RandiAnugerah1
 
Digital Poster PPT.pptx..............................
Digital Poster PPT.pptx..............................
AhmedAboElSeoud3
 
Ad

Java byte code presentation

  • 3.  Java is a programming language originally developed by James Gosling at Sun Microsystems.  The language drives much of its syntax from C and C++ but has a simpler object model.  Java applications are typically compiled to byte code (class file) that can run on any Java Virtual Machine (JVM).
  • 4. Java Byte Code  Byte codes are the machine language of the java virtual machine. A feature that different the java with other programming features.  It is a programming code that, once compiled, is run through a virtual machine.  Byte code is the compiled format for Java programs.  Once a Java program has been converted to byte code, it can be transferred across a network and executed by Java Virtual Machine (JVM).
  • 5. Virtual Machine o Before understanding what is JVM let us first know what is Virtual Machine. A virtual machine is a layer of abstraction that gives a program one simplified interface for interacting with a variety of physical computers and their operating systems.
  • 6. Java Virtual Machine  The Java Virtual Machine (JVM) is the runtime engine of the Java Platform, which allows any program written in Java or other language compiled into Java byte code to run on any computer that has a native JVM.  The byte code can be executed on any platform where there exist JVM. It is available for many hardware and software platforms.  JVM executes the step-by-step instructions given to it from the byte code.
  • 7. z
  • 8.  JVM provides run time environment in which java byte code can be executed.  When program compiles, the java compiler translates the java source code into a .class file (byte codes) that contains the compiled version of program.  Byte codes are platform independent and proves Java is an independent language. JVM can run on different operating systems.  Java Class File: Java class file is a file (with the .class extension) containing a Java byte code which can be executed on the Java Virtual Machine (JVM).
  • 9. Components of JVM:  Byte code verifier.  Class loader.  Execution engine.  Garbage collector.  Security manager.
  • 10. Byte Code Verifier:  Used to verify the byte code.  Checks for unusual code.  A crucial component for security.
  • 11. Class loader:  Loads java classes into JVM.  All JVM include one class loader that is embedded in the virtual machine.  The main feature of the class loader is that JVM. doesn’t need to have any knowledge about the classes that will be loaded at runtime. Execution Engine:  Helps JVM to convert byte code into machine code using interpreter.
  • 12. Garbage Collector:  Process of automatically freeing objects that are no longer referenced by the program.  Relieves java programmer from memory management. Security Manager:  Monitors the code.  A special java object responsible for guarding security policies for java applications.