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

PPT
Java-java virtual machine
PDF
Arrays in Java
PPTX
Data types in java
PPTX
Java byte code & virtual machine
PDF
DOCX
Java and its features
PPTX
Methods in java
Java-java virtual machine
Arrays in Java
Data types in java
Java byte code & virtual machine
Java and its features
Methods in java

What's hot (20)

PPTX
Java package
PPTX
Java Data Types
PPSX
JDBC: java DataBase connectivity
PDF
Introduction to Java Programming
PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
PPTX
Features of java
PPTX
Type casting in java
PPTX
Inheritance in java
PPTX
java interface and packages
PDF
Java variable types
PPTX
Classes objects in java
PPTX
Introduction to java
PDF
Java threads
PPT
Java buzzwords
PPTX
Java abstract class & abstract methods
PPS
Wrapper class
PPTX
Core Java Tutorials by Mahika Tutorials
PPTX
Core java complete ppt(note)
PPTX
Method overloading
Java package
Java Data Types
JDBC: java DataBase connectivity
Introduction to Java Programming
Basic Concepts of OOPs (Object Oriented Programming in Java)
Features of java
Type casting in java
Inheritance in java
java interface and packages
Java variable types
Classes objects in java
Introduction to java
Java threads
Java buzzwords
Java abstract class & abstract methods
Wrapper class
Core Java Tutorials by Mahika Tutorials
Core java complete ppt(note)
Method overloading
Ad

Similar to Java byte code presentation (20)

PPTX
PPTX
Java Virtual Machine (JVM) and just in time compilation
PPTX
Lecture java variable , data type, token
PPTX
Introduction to Java Programming
PDF
Lecture java01
PPTX
java intro.pptx
PPTX
Java virtual machine
PDF
What is-java
PDF
Java introduction
PPTX
intoduction to java
PDF
What is Java
PPTX
basic core java up to operator
PPTX
Unit1 JAVA.pptx
PDF
Core Java Programming Language (JSE) : Chapter I - Getting Started
PDF
Java Introduction | PDF
PDF
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
PPS
Introduction to Java
Java Virtual Machine (JVM) and just in time compilation
Lecture java variable , data type, token
Introduction to Java Programming
Lecture java01
java intro.pptx
Java virtual machine
What is-java
Java introduction
intoduction to java
What is Java
basic core java up to operator
Unit1 JAVA.pptx
Core Java Programming Language (JSE) : Chapter I - Getting Started
Java Introduction | PDF
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
Introduction to Java
Ad

Recently uploaded (20)

PDF
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
PDF
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
PPTX
Special finishes, classification and types, explanation
PPTX
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
PPT
pump pump is a mechanism that is used to transfer a liquid from one place to ...
PDF
The Advantages of Working With a Design-Build Studio
PPTX
AD Bungalow Case studies Sem 2.pptxvwewev
PPTX
DOC-20250430-WA0014._20250714_235747_0000.pptx
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
DOCX
actividad 20% informatica microsoft project
PPTX
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
PPTX
areprosthodontics and orthodonticsa text.pptx
PPTX
mahatma gandhi bus terminal in india Case Study.pptx
PPTX
artificialintelligencedata driven analytics23.pptx
PPTX
Fundamental Principles of Visual Graphic Design.pptx
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPTX
Implications Existing phase plan and its feasibility.pptx
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
PPT
UNIT I- Yarn, types, explanation, process
PPTX
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
Special finishes, classification and types, explanation
ANATOMY OF ANTERIOR CHAMBER ANGLE AND GONIOSCOPY.pptx
pump pump is a mechanism that is used to transfer a liquid from one place to ...
The Advantages of Working With a Design-Build Studio
AD Bungalow Case studies Sem 2.pptxvwewev
DOC-20250430-WA0014._20250714_235747_0000.pptx
YOW2022-BNE-MinimalViableArchitecture.pdf
actividad 20% informatica microsoft project
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
areprosthodontics and orthodonticsa text.pptx
mahatma gandhi bus terminal in india Case Study.pptx
artificialintelligencedata driven analytics23.pptx
Fundamental Principles of Visual Graphic Design.pptx
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
Implications Existing phase plan and its feasibility.pptx
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
UNIT I- Yarn, types, explanation, process
Causes of Flooding by Slidesgo sdnl;asnjdl;asj.pptx

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.