SlideShare a Scribd company logo
Write once, Run anywhere 
Java Apps are 
platform independent; 
They can be run on 
any OS having JVM. 
If the OS does not have JVM then we 
can not run Java App.
Java class is written in Unicode 
characters. 
Java compiler convert these 
Unicode characters into Byte 
code. 
Java Byte code can only be 
understandable by JVM. 
JVM is native code and specific to OS
class file format 
Java bytecode is the instruction set of the Java 
virtual machine.
other languages can turn to the 
Java virtual machine as a delivery 
vehicle 
any language with functionality that can be 
expressed in terms of a valid class file can be 
hosted by the Java virtual machine.
Bytecode Outline plugin for Eclipse 
Shows disassembled bytecode of current java 
editor or class file. 
The best way to learn JVM is to write a Java source file 
and then view Bytecode using this plugin.
Go to “Help -> Install new Software” 
http://andrei.gmxhome.de/eclipse/ 
Window -> Show View -> Other
Open Bytecode View
LDC "Hello World!" 
● Open Bytecode Reference view 
● Click “LDC” 
ldc : push single-word constant onto stack
Java allows you to play 
online games, chat with 
people around the world, 
calculate your mortgage 
interest, and view images 
in 3D, just to name a few. 
It’s also integral to the intranet applications 
and other e-business solutions that are 
the foundation of corporate computing.
Principles 
There were five primary goals in the creation of the Java 
language : 
● simple, object-oriented and familiar 
● robust and secure 
● architecture-neutral and portable 
● execute with “high performance” 
● interpreted, threaded, and dynamic
Java platform 
Java is a programming language and computing 
platform. 
Java is composed of a number of key components 
that, as a whole, create the Java platform. 
– The Java Virtual Machine 
– The Java Application Programming Interface (API) 
Java runs on more than 850 million personal 
computers worldwide, and on billions of devices 
worldwide, including mobile and TV devices.
Java API (Rich Standard Library) 
The API is a large collection of ready-made 
software components that provide many useful 
capabilities. It is grouped into libraries of related 
classes and interfaces; these libraries are known 
as packages. 
Java includes a vast number of premade 
objects that can be used to perform such 
tasks as input/output, networking, and date 
manipulation.
java.lang 
– Provides classes that are fundamental to the design 
of the Java programming language. 
java.io 
– Provides for system input and output through data 
streams, serialization and the file system. 
java.sql 
– Provides the API for accessing and processing data 
stored in a data source
Java Environment 
Java comes in two flavors : 
● JRE - Java Runtime Environment 
● JDK – Java Development Kit 
You can download any of these two.
JRE 
JRE provides components to run applications 
written in the Java programming language : 
● Java Virtual Machine 
● Java API 
● Tools to run Java Apps 
The JRE does not contain tools and utilities such as 
compilers or debuggers for developing applications.
Java Development Kit (JDK) 
JDK is a collection of tools for developing, 
packaging and distributing Java applications. 
JDK is a superset of the JRE, and contains 
everything that is in the JRE, plus tools such as 
the compilers and debuggers necessary for 
developing applications.
Java class loaders 
The Java Classloader is a part of the JRE that 
dynamically loads Java classes into the JVM. 
Usually classes are only loaded on demand. The 
Java run time system does not need to know 
about files and file systems because of 
classloaders.
Popular Java Editors 
● Notepad++ 
● Eclipse
What is-java

More Related Content

What's hot (20)

PPTX
Java architecture
Rakesh
 
PDF
Introduction to the Java bytecode - So@t - 20130924
yohanbeschi
 
PPTX
Jvm Architecture
ThirupathiReddy Vajjala
 
DOCX
JDK,JRE,JVM
Cognizant
 
PDF
Java basics notes
poonguzhali1826
 
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
PPT
CS Lesson: Introduction to the Java virtual Machine
Katrin Becker
 
PDF
Java unit 1
Shipra Swati
 
PDF
Java Virtual Machine - Internal Architecture
subnesh
 
PPT
Java Virtual Machine
Taha Malampatti
 
PPSX
Introduction to java
Ajay Sharma
 
PPTX
Architecture diagram of jvm
home
 
PPT
Java essential notes
Habitamu Asimare
 
PPT
CS6270 Virtual Machines - Java Virtual Machine Architecture and APIs
Kwangshin Oh
 
PPTX
Jdk,jre,jvm
Kritika Goel
 
PDF
Learn Java Part 1
Gurpreet singh
 
PDF
Java notes
Manish Swarnkar
 
Java architecture
Rakesh
 
Introduction to the Java bytecode - So@t - 20130924
yohanbeschi
 
Jvm Architecture
ThirupathiReddy Vajjala
 
JDK,JRE,JVM
Cognizant
 
Java basics notes
poonguzhali1826
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
CS Lesson: Introduction to the Java virtual Machine
Katrin Becker
 
Java unit 1
Shipra Swati
 
Java Virtual Machine - Internal Architecture
subnesh
 
Java Virtual Machine
Taha Malampatti
 
Introduction to java
Ajay Sharma
 
Architecture diagram of jvm
home
 
Java essential notes
Habitamu Asimare
 
CS6270 Virtual Machines - Java Virtual Machine Architecture and APIs
Kwangshin Oh
 
Jdk,jre,jvm
Kritika Goel
 
Learn Java Part 1
Gurpreet singh
 
Java notes
Manish Swarnkar
 

Similar to What is-java (20)

PDF
What is java
javaicon
 
PDF
What is Java
3trg
 
PPTX
Introduction to java
Java Lover
 
PDF
Java Basic.pdf
TechSearchWeb
 
PDF
Core Java-1 (1).pdf
HaskellKohler1234
 
PDF
Java course in Chandigarh.pdf
ExcellenceTechnology9
 
PDF
TechSearchWeb.pdf
TechSearchWeb
 
PDF
Technology Tutorial.pdf
TechSearchWeb
 
DOCX
JAVA CORE
Ankit Chauhan
 
PPTX
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
PPTX
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
PPTX
1_Introduction to Java.pptx java programming
amitraj53904
 
PDF
Javanotes ww8
kumar467
 
PPTX
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
PPSX
JAVA.ppsx java code java edv java development
wannabekrishna0
 
DOCX
JAVA First Day
Sher Singh Bardhan
 
PPTX
Java chapter 1 basic introduction Unit-1.pptx
noosdysharma
 
PPTX
The Java Story
David Parsons
 
PPTX
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
What is java
javaicon
 
What is Java
3trg
 
Introduction to java
Java Lover
 
Java Basic.pdf
TechSearchWeb
 
Core Java-1 (1).pdf
HaskellKohler1234
 
Java course in Chandigarh.pdf
ExcellenceTechnology9
 
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
TechSearchWeb
 
JAVA CORE
Ankit Chauhan
 
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
1_Introduction to Java.pptx java programming
amitraj53904
 
Javanotes ww8
kumar467
 
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
JAVA.ppsx java code java edv java development
wannabekrishna0
 
JAVA First Day
Sher Singh Bardhan
 
Java chapter 1 basic introduction Unit-1.pptx
noosdysharma
 
The Java Story
David Parsons
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
Ad

More from Shahid Rasheed (7)

PDF
Java Variable Storage
Shahid Rasheed
 
PDF
Java Instantiation
Shahid Rasheed
 
PDF
Variable Naming Best Practices
Shahid Rasheed
 
PDF
Java Variable Types
Shahid Rasheed
 
PDF
Java Basic Operators
Shahid Rasheed
 
PDF
Java basic-data-types
Shahid Rasheed
 
PDF
Java basic-syntax
Shahid Rasheed
 
Java Variable Storage
Shahid Rasheed
 
Java Instantiation
Shahid Rasheed
 
Variable Naming Best Practices
Shahid Rasheed
 
Java Variable Types
Shahid Rasheed
 
Java Basic Operators
Shahid Rasheed
 
Java basic-data-types
Shahid Rasheed
 
Java basic-syntax
Shahid Rasheed
 
Ad

Recently uploaded (20)

PPTX
How to Setup Automatic Reordering Rule in Odoo 18 Inventory
Celine George
 
PPTX
ENGLISH 8 REVISED K-12 CURRICULUM QUARTER 1 WEEK 1
LeomarrYsraelArzadon
 
PDF
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
PPTX
Lesson 1 Cell (Structures, Functions, and Theory).pptx
marvinnbustamante1
 
PDF
I3PM Case study smart parking 2025 with uptoIP® and ABP
MIPLM
 
PDF
Lesson 1 : Science and the Art of Geography Ecosystem
marvinnbustamante1
 
PDF
Genomics Proteomics and Vaccines 1st Edition Guido Grandi (Editor)
kboqcyuw976
 
PPTX
MATH 8 QUARTER 1 WEEK 1 LESSON 2 PRESENTATION
JohnGuillerNestalBah1
 
PDF
Indian National movement PPT by Simanchala Sarab, Covering The INC(Formation,...
Simanchala Sarab, BABed(ITEP Secondary stage) in History student at GNDU Amritsar
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PPTX
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
PPTX
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
PPTX
PLANNING A HOSPITAL AND NURSING UNIT.pptx
PRADEEP ABOTHU
 
PDF
Quiz Night Live May 2025 - Intra Pragya Online General Quiz
Pragya - UEM Kolkata Quiz Club
 
PPTX
Marketing Management PPT Unit 1 and Unit 2.pptx
Sri Ramakrishna College of Arts and science
 
PDF
TLE 8 QUARTER 1 MODULE WEEK 1 MATATAG CURRICULUM
denniseraya1997
 
PDF
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
 
PDF
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
PDF
Nanotechnology and Functional Foods Effective Delivery of Bioactive Ingredien...
rmswlwcxai8321
 
PPTX
Life and Career Skills Lesson 2.pptxProtective and Risk Factors of Late Adole...
ryangabrielcatalon40
 
How to Setup Automatic Reordering Rule in Odoo 18 Inventory
Celine George
 
ENGLISH 8 REVISED K-12 CURRICULUM QUARTER 1 WEEK 1
LeomarrYsraelArzadon
 
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
Lesson 1 Cell (Structures, Functions, and Theory).pptx
marvinnbustamante1
 
I3PM Case study smart parking 2025 with uptoIP® and ABP
MIPLM
 
Lesson 1 : Science and the Art of Geography Ecosystem
marvinnbustamante1
 
Genomics Proteomics and Vaccines 1st Edition Guido Grandi (Editor)
kboqcyuw976
 
MATH 8 QUARTER 1 WEEK 1 LESSON 2 PRESENTATION
JohnGuillerNestalBah1
 
Indian National movement PPT by Simanchala Sarab, Covering The INC(Formation,...
Simanchala Sarab, BABed(ITEP Secondary stage) in History student at GNDU Amritsar
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
Building Powerful Agentic AI with Google ADK, MCP, RAG, and Ollama.pptx
Tamanna36
 
Elo the Hero is an story about a young boy who became hero.
TeacherEmily1
 
PLANNING A HOSPITAL AND NURSING UNIT.pptx
PRADEEP ABOTHU
 
Quiz Night Live May 2025 - Intra Pragya Online General Quiz
Pragya - UEM Kolkata Quiz Club
 
Marketing Management PPT Unit 1 and Unit 2.pptx
Sri Ramakrishna College of Arts and science
 
TLE 8 QUARTER 1 MODULE WEEK 1 MATATAG CURRICULUM
denniseraya1997
 
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
 
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
Nanotechnology and Functional Foods Effective Delivery of Bioactive Ingredien...
rmswlwcxai8321
 
Life and Career Skills Lesson 2.pptxProtective and Risk Factors of Late Adole...
ryangabrielcatalon40
 

What is-java

  • 1. Write once, Run anywhere Java Apps are platform independent; They can be run on any OS having JVM. If the OS does not have JVM then we can not run Java App.
  • 2. Java class is written in Unicode characters. Java compiler convert these Unicode characters into Byte code. Java Byte code can only be understandable by JVM. JVM is native code and specific to OS
  • 3. class file format Java bytecode is the instruction set of the Java virtual machine.
  • 4. other languages can turn to the Java virtual machine as a delivery vehicle any language with functionality that can be expressed in terms of a valid class file can be hosted by the Java virtual machine.
  • 5. Bytecode Outline plugin for Eclipse Shows disassembled bytecode of current java editor or class file. The best way to learn JVM is to write a Java source file and then view Bytecode using this plugin.
  • 6. Go to “Help -> Install new Software” http://andrei.gmxhome.de/eclipse/ Window -> Show View -> Other
  • 8. LDC "Hello World!" ● Open Bytecode Reference view ● Click “LDC” ldc : push single-word constant onto stack
  • 9. Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. It’s also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
  • 10. Principles There were five primary goals in the creation of the Java language : ● simple, object-oriented and familiar ● robust and secure ● architecture-neutral and portable ● execute with “high performance” ● interpreted, threaded, and dynamic
  • 11. Java platform Java is a programming language and computing platform. Java is composed of a number of key components that, as a whole, create the Java platform. – The Java Virtual Machine – The Java Application Programming Interface (API) Java runs on more than 850 million personal computers worldwide, and on billions of devices worldwide, including mobile and TV devices.
  • 12. Java API (Rich Standard Library) The API is a large collection of ready-made software components that provide many useful capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known as packages. Java includes a vast number of premade objects that can be used to perform such tasks as input/output, networking, and date manipulation.
  • 13. java.lang – Provides classes that are fundamental to the design of the Java programming language. java.io – Provides for system input and output through data streams, serialization and the file system. java.sql – Provides the API for accessing and processing data stored in a data source
  • 14. Java Environment Java comes in two flavors : ● JRE - Java Runtime Environment ● JDK – Java Development Kit You can download any of these two.
  • 15. JRE JRE provides components to run applications written in the Java programming language : ● Java Virtual Machine ● Java API ● Tools to run Java Apps The JRE does not contain tools and utilities such as compilers or debuggers for developing applications.
  • 16. Java Development Kit (JDK) JDK is a collection of tools for developing, packaging and distributing Java applications. JDK is a superset of the JRE, and contains everything that is in the JRE, plus tools such as the compilers and debuggers necessary for developing applications.
  • 17. Java class loaders The Java Classloader is a part of the JRE that dynamically loads Java classes into the JVM. Usually classes are only loaded on demand. The Java run time system does not need to know about files and file systems because of classloaders.
  • 18. Popular Java Editors ● Notepad++ ● Eclipse