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

PPTX
Java byte code & virtual machine
PPTX
JAVA BYTE CODE
PPTX
Java bytecode and classes
PPTX
Java byte code presentation
PDF
An Introduction to Java Compiler and Runtime
ODP
Java compilation
PPTX
Java virtual machine
Java byte code & virtual machine
JAVA BYTE CODE
Java bytecode and classes
Java byte code presentation
An Introduction to Java Compiler and Runtime
Java compilation
Java virtual machine

What's hot (20)

PPTX
Java architecture
PDF
Introduction to the Java bytecode - So@t - 20130924
PPTX
Jvm Architecture
DOCX
JDK,JRE,JVM
PDF
Java basics notes
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
PPT
CS Lesson: Introduction to the Java virtual Machine
PDF
Java unit 1
PDF
Java Virtual Machine - Internal Architecture
PPT
Java Virtual Machine
PPSX
Introduction to java
PPTX
Architecture diagram of jvm
PPT
Java essential notes
PPT
CS6270 Virtual Machines - Java Virtual Machine Architecture and APIs
PPTX
Jdk,jre,jvm
PDF
Learn Java Part 1
PDF
Java notes
Java architecture
Introduction to the Java bytecode - So@t - 20130924
Jvm Architecture
JDK,JRE,JVM
Java basics notes
Introduction to Java Programming, Basic Structure, variables Data type, input...
CS Lesson: Introduction to the Java virtual Machine
Java unit 1
Java Virtual Machine - Internal Architecture
Java Virtual Machine
Introduction to java
Architecture diagram of jvm
Java essential notes
CS6270 Virtual Machines - Java Virtual Machine Architecture and APIs
Jdk,jre,jvm
Learn Java Part 1
Java notes
Ad

Similar to What is-java (20)

PDF
What is Java
PDF
What is java
PDF
Core Java-1 (1).pdf
PPTX
Introduction to Single page application in web desing
PPT
Core java slides
PPTX
Unit1 introduction to Java
PPTX
Unit1 JAVA.pptx
PDF
Java ppt1
PPTX
JAVA ALL 5 MODULE NOTES.pptx
PPTX
JRE , JDK and platform independent nature of JAVA
PPTX
Java Programming Tutorials Basic to Advanced 1
DOCX
Notes of java first unit
PPTX
Java ms harsha
DOCX
java introduction.docx
PDF
Java course in Chandigarh.pdf
DOCX
JAVA First Day
PDF
Download Free Java Notes PDF for Easy Learning
PPT
JavaClassPresentation
PDF
J introtojava1-pdf
PPTX
2 22CA026_Advance Java Programming_Data types and Operators.pptx
What is Java
What is java
Core Java-1 (1).pdf
Introduction to Single page application in web desing
Core java slides
Unit1 introduction to Java
Unit1 JAVA.pptx
Java ppt1
JAVA ALL 5 MODULE NOTES.pptx
JRE , JDK and platform independent nature of JAVA
Java Programming Tutorials Basic to Advanced 1
Notes of java first unit
Java ms harsha
java introduction.docx
Java course in Chandigarh.pdf
JAVA First Day
Download Free Java Notes PDF for Easy Learning
JavaClassPresentation
J introtojava1-pdf
2 22CA026_Advance Java Programming_Data types and Operators.pptx
Ad

More from Shahid Rasheed (7)

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

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PPTX
Cell Structure & Organelles in detailed.
PPTX
master seminar digital applications in india
PDF
Business Ethics Teaching Materials for college
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
01-Introduction-to-Information-Management.pdf
Cell Structure & Organelles in detailed.
master seminar digital applications in india
Business Ethics Teaching Materials for college
2.FourierTransform-ShortQuestionswithAnswers.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharma ospi slides which help in ospi learning
Renaissance Architecture: A Journey from Faith to Humanism
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Supply Chain Operations Speaking Notes -ICLT Program
PPH.pptx obstetrics and gynecology in nursing
O7-L3 Supply Chain Operations - ICLT Program
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Final Presentation General Medicine 03-08-2024.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Anesthesia in Laparoscopic Surgery in India
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES

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