SlideShare a Scribd company logo
4
Most read
7
Most read
11
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

More Related Content

What's hot (20)

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

Similar to Java byte code presentation (20)

PPTX
Lecture java variable , data type, token
ChandrashekharSingh859453
 
PDF
Javanotes ww8
kumar467
 
PPTX
Java Virtual Machine (JVM) and just in time compilation
ArunKumarPandey43
 
PPT
A begineers guide of JAVA - Getting Started
Rakesh Madugula
 
PDF
OOPS JAVA.pdf
DeepanshuMidha5140
 
PPT
JVM, byte codes & jvm languages
Edgar Espina
 
PPTX
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
PDF
JAVA for Every one
Satyam Pandey
 
PPTX
Unit1 JAVA.pptx
RahulAnand111531
 
PDF
Inside JVM
Chinh Ngo Nguyen
 
PPT
Java2020 programming basics and fundamentals
swecsaleem
 
PDF
JAVA AND ANDROID OS_PRESENTATION
Benjamin Agboola
 
DOCX
JDK,JRE,JVM
Cognizant
 
PDF
Ijaprr vol1-2-13-60-64tejinder
ijaprr_editor
 
PPT
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
PDF
Java unit 1
Shipra Swati
 
PPT
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
 
PPTX
java basics.pptx
mlakshumaiah
 
Lecture java variable , data type, token
ChandrashekharSingh859453
 
Javanotes ww8
kumar467
 
Java Virtual Machine (JVM) and just in time compilation
ArunKumarPandey43
 
A begineers guide of JAVA - Getting Started
Rakesh Madugula
 
OOPS JAVA.pdf
DeepanshuMidha5140
 
JVM, byte codes & jvm languages
Edgar Espina
 
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
JAVA for Every one
Satyam Pandey
 
Unit1 JAVA.pptx
RahulAnand111531
 
Inside JVM
Chinh Ngo Nguyen
 
Java2020 programming basics and fundamentals
swecsaleem
 
JAVA AND ANDROID OS_PRESENTATION
Benjamin Agboola
 
JDK,JRE,JVM
Cognizant
 
Ijaprr vol1-2-13-60-64tejinder
ijaprr_editor
 
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
Java unit 1
Shipra Swati
 
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
 
java basics.pptx
mlakshumaiah
 
Ad

Recently uploaded (20)

PPTX
西班牙硕士毕业证加泰罗尼亚理工大学文凭证书UPC录取通知书2025年新版
Taqyea
 
PDF
Favorite Looks Menswear Spring Summer 2026
Ana Andjelic
 
PDF
Sirisha .A Portfolio.
SirishaSiri487733
 
PPTX
英国硕士毕业证伦敦城市大学学位证书City毕业完成信办理
Taqyea
 
PPTX
CHINA CONVENTION CENTRE casestudy and analysis
FullygamesTech
 
PDF
Design Social Change Creating Social Change
Eduardo Corrêa
 
PDF
Decorative Glass Dubai /Decorative Glass Dubai
Royal Matrixs
 
PPTX
原版一样(UCAM毕业证书)西班牙武康大学毕业证如何办理
Taqyea
 
PDF
Introductory Plant Pathology Class Slides.pdf
tabishek325
 
PDF
Digital Marketing Expert Training Program
marketing226932
 
DOCX
Ai vehicle traffic signal detector research proposal.docx
DavidNameza
 
PDF
IDES-502_Project-1-Home_Presentation-Boards_Codamon.pdf
codamona
 
PPTX
6. PMES PORTFOLIO_PINK DESIGN_T1-TE_A4.pptx
GynnelNicanor1
 
PPTX
Light weight Concrete-CONCRETE TECHNOLOGY.
mayurbhandari2123
 
PDF
Graphic Designing Article All about Graphic Designing
Techera
 
PDF
07/25 - LOUIS VUITTON - DUBAI - UAE_MAURO MANCINI PM ANTEFIXE
Mauro Mancini
 
PDF
BeeNexus Stall Design, Fabrication, and Branding in India
Beenexus
 
PDF
Florida Gulf Coast University (FGCU) Diploma
bogusdiploma
 
PDF
safiyayahaya-portfoliohighres-171228115344.pdf
architectsdreamdesig1
 
PPTX
Transitional Shelter temporary housing solution provided for people displaced...
mosmanrev99
 
西班牙硕士毕业证加泰罗尼亚理工大学文凭证书UPC录取通知书2025年新版
Taqyea
 
Favorite Looks Menswear Spring Summer 2026
Ana Andjelic
 
Sirisha .A Portfolio.
SirishaSiri487733
 
英国硕士毕业证伦敦城市大学学位证书City毕业完成信办理
Taqyea
 
CHINA CONVENTION CENTRE casestudy and analysis
FullygamesTech
 
Design Social Change Creating Social Change
Eduardo Corrêa
 
Decorative Glass Dubai /Decorative Glass Dubai
Royal Matrixs
 
原版一样(UCAM毕业证书)西班牙武康大学毕业证如何办理
Taqyea
 
Introductory Plant Pathology Class Slides.pdf
tabishek325
 
Digital Marketing Expert Training Program
marketing226932
 
Ai vehicle traffic signal detector research proposal.docx
DavidNameza
 
IDES-502_Project-1-Home_Presentation-Boards_Codamon.pdf
codamona
 
6. PMES PORTFOLIO_PINK DESIGN_T1-TE_A4.pptx
GynnelNicanor1
 
Light weight Concrete-CONCRETE TECHNOLOGY.
mayurbhandari2123
 
Graphic Designing Article All about Graphic Designing
Techera
 
07/25 - LOUIS VUITTON - DUBAI - UAE_MAURO MANCINI PM ANTEFIXE
Mauro Mancini
 
BeeNexus Stall Design, Fabrication, and Branding in India
Beenexus
 
Florida Gulf Coast University (FGCU) Diploma
bogusdiploma
 
safiyayahaya-portfoliohighres-171228115344.pdf
architectsdreamdesig1
 
Transitional Shelter temporary housing solution provided for people displaced...
mosmanrev99
 
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.