SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
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 Byte code can only be
understandable by JVM.
Java class is written in Unicode
characters.
Java compiler convert these
Unicode characters into Byte
code.
JVM is native code and specific to OS
class file format
Java bytecode is the instruction set of the Java
virtual machine.
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.
Java's sophisticated memory management, native
support for threading and concurrency, type
safety, and relative simplicity have created a
demand for its use in many domains.
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 superset of the JRE, and contains
everything that is in the JRE, plus tools such as
the compilers and debuggers necessary for
developing applications.
JDK is a collection of tools for developing,
packaging and distributing Java 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

Más contenido relacionado

La actualidad más candente

Features of java - javatportal
Features of java - javatportalFeatures of java - javatportal
Features of java - javatportalJavaTportal
 
Advantages of java
Advantages of javaAdvantages of java
Advantages of javaxxx007008
 
Important features of java
Important features of javaImportant features of java
Important features of javaAL- AMIN
 
Introduction to java
Introduction to java Introduction to java
Introduction to java javeed_mhd
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javaSaba Ameer
 
Java Basics
Java BasicsJava Basics
Java BasicsKhan625
 
Advantages of java programming language
Advantages of java programming languageAdvantages of java programming language
Advantages of java programming languageamiluafiah
 
JAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKASJAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKASNAVEEN TOKAS
 
INTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONINTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONAjit Yadav
 
Java presentation
Java presentationJava presentation
Java presentationsurajdmk
 
JRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAJRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAMehak Tawakley
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...MCM COmpetitive Classes
 
Why java is important in programming language?
Why java is important in programming language?Why java is important in programming language?
Why java is important in programming language?NexSoftsys
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENTjosemachoco
 

La actualidad más candente (20)

Features of java - javatportal
Features of java - javatportalFeatures of java - javatportal
Features of java - javatportal
 
Advantages of java
Advantages of javaAdvantages of java
Advantages of java
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Java. converted (2)
Java. converted (2)Java. converted (2)
Java. converted (2)
 
Java presentation
Java presentation Java presentation
Java presentation
 
Advantages of java programming language
Advantages of java programming languageAdvantages of java programming language
Advantages of java programming language
 
JAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKASJAVA PPT by NAVEEN TOKAS
JAVA PPT by NAVEEN TOKAS
 
INTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONINTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATION
 
Java presentation
Java presentationJava presentation
Java presentation
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
JRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAJRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVA
 
Features of java
Features of javaFeatures of java
Features of java
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Why java is important in programming language?
Why java is important in programming language?Why java is important in programming language?
Why java is important in programming language?
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 

Destacado

Tổng kết hội tp sn 2015
Tổng kết hội tp sn 2015Tổng kết hội tp sn 2015
Tổng kết hội tp sn 2015Là Nắng Anh
 
Trinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha ap
Trinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha apTrinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha ap
Trinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha apLà Nắng Anh
 
Trinh tu, thu tuc cap dien khach hang chuyen dung
Trinh tu, thu tuc cap dien khach hang chuyen dungTrinh tu, thu tuc cap dien khach hang chuyen dung
Trinh tu, thu tuc cap dien khach hang chuyen dungLà Nắng Anh
 
Cisco Security DNA
Cisco Security DNACisco Security DNA
Cisco Security DNAMatteo Masi
 
HPE and Hortonworks join forces to Deliver Healthcare Transformation
HPE and Hortonworks join forces to Deliver Healthcare TransformationHPE and Hortonworks join forces to Deliver Healthcare Transformation
HPE and Hortonworks join forces to Deliver Healthcare TransformationHortonworks
 
Об интернет-агентстве ФЕРТ
Об интернет-агентстве ФЕРТОб интернет-агентстве ФЕРТ
Об интернет-агентстве ФЕРТFert
 
miraqua Nassraumboden
miraqua Nassraumbodenmiraqua Nassraumboden
miraqua Nassraumbodenfrischblut
 

Destacado (17)

Curso SQL - Leccion 2
Curso SQL - Leccion 2Curso SQL - Leccion 2
Curso SQL - Leccion 2
 
Presentación de la Dual Use Conference
Presentación de la Dual Use ConferencePresentación de la Dual Use Conference
Presentación de la Dual Use Conference
 
Tổng kết hội tp sn 2015
Tổng kết hội tp sn 2015Tổng kết hội tp sn 2015
Tổng kết hội tp sn 2015
 
Presentación de la experiencia de un miembro de la AEI Ciberseguridad: ACONSA
Presentación de la experiencia de un miembro de la AEI Ciberseguridad: ACONSAPresentación de la experiencia de un miembro de la AEI Ciberseguridad: ACONSA
Presentación de la experiencia de un miembro de la AEI Ciberseguridad: ACONSA
 
Presentación de las posibilidades de financiación de I+D+i a nivel europeo
Presentación de las posibilidades de financiación de I+D+i a nivel europeoPresentación de las posibilidades de financiación de I+D+i a nivel europeo
Presentación de las posibilidades de financiación de I+D+i a nivel europeo
 
Conversar amb la ciutadania per les xarxes socials. Aurora Massip i Manel Gastó
Conversar amb la ciutadania per les xarxes socials. Aurora Massip i Manel GastóConversar amb la ciutadania per les xarxes socials. Aurora Massip i Manel Gastó
Conversar amb la ciutadania per les xarxes socials. Aurora Massip i Manel Gastó
 
Cronograma de concursos 2016
Cronograma de concursos 2016Cronograma de concursos 2016
Cronograma de concursos 2016
 
Trinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha ap
Trinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha apTrinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha ap
Trinh tu, thu tuc cap dien khach hang mua dien tu luoi dien ha ap
 
Trinh tu, thu tuc cap dien khach hang chuyen dung
Trinh tu, thu tuc cap dien khach hang chuyen dungTrinh tu, thu tuc cap dien khach hang chuyen dung
Trinh tu, thu tuc cap dien khach hang chuyen dung
 
Manual de siremap
Manual de siremapManual de siremap
Manual de siremap
 
Consultas en access davidaguirre
Consultas en access davidaguirreConsultas en access davidaguirre
Consultas en access davidaguirre
 
Presentación de la AEI Ciberseguridad y Tecnologías Avanzadas
Presentación de la AEI Ciberseguridad y Tecnologías AvanzadasPresentación de la AEI Ciberseguridad y Tecnologías Avanzadas
Presentación de la AEI Ciberseguridad y Tecnologías Avanzadas
 
Introducción a las bases de datos con access
Introducción a las bases de datos con accessIntroducción a las bases de datos con access
Introducción a las bases de datos con access
 
Cisco Security DNA
Cisco Security DNACisco Security DNA
Cisco Security DNA
 
HPE and Hortonworks join forces to Deliver Healthcare Transformation
HPE and Hortonworks join forces to Deliver Healthcare TransformationHPE and Hortonworks join forces to Deliver Healthcare Transformation
HPE and Hortonworks join forces to Deliver Healthcare Transformation
 
Об интернет-агентстве ФЕРТ
Об интернет-агентстве ФЕРТОб интернет-агентстве ФЕРТ
Об интернет-агентстве ФЕРТ
 
miraqua Nassraumboden
miraqua Nassraumbodenmiraqua Nassraumboden
miraqua Nassraumboden
 

Similar a Write Once, Run Anywhere - Java Apps are Platform Independent

Similar a Write Once, Run Anywhere - Java Apps are Platform Independent (20)

What is-java
What is-javaWhat is-java
What is-java
 
Core Java-1 (1).pdf
Core Java-1 (1).pdfCore Java-1 (1).pdf
Core Java-1 (1).pdf
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to Java
 
Core java slides
Core java slidesCore java slides
Core java slides
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
 
Java chapter 1 basic introduction Unit-1.pptx
Java chapter  1 basic introduction Unit-1.pptxJava chapter  1 basic introduction Unit-1.pptx
Java chapter 1 basic introduction Unit-1.pptx
 
Java course in Chandigarh.pdf
Java course in Chandigarh.pdfJava course in Chandigarh.pdf
Java course in Chandigarh.pdf
 
Java Programming Basics Infographic.pdf
Java Programming Basics  Infographic.pdfJava Programming Basics  Infographic.pdf
Java Programming Basics Infographic.pdf
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentation
 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
 
Java Intro
Java IntroJava Intro
Java Intro
 
Ch2
Ch2Ch2
Ch2
 
Getting Started with JAVA
Getting Started with JAVAGetting Started with JAVA
Getting Started with JAVA
 
Java ppt1
Java ppt1Java ppt1
Java ppt1
 
Learn Java Part 1
Learn Java Part 1Learn Java Part 1
Learn Java Part 1
 

Más de javaicon

Java basic data types
Java basic data typesJava basic data types
Java basic data typesjavaicon
 
Java Basic Syntax
Java Basic SyntaxJava Basic Syntax
Java Basic Syntaxjavaicon
 
Java threads
Java threadsJava threads
Java threadsjavaicon
 
Life cycle-of-a-thread
Life cycle-of-a-threadLife cycle-of-a-thread
Life cycle-of-a-threadjavaicon
 
Processes and-threads
Processes and-threadsProcesses and-threads
Processes and-threadsjavaicon
 
Java basic-syntax
Java basic-syntaxJava basic-syntax
Java basic-syntaxjavaicon
 

Más de javaicon (6)

Java basic data types
Java basic data typesJava basic data types
Java basic data types
 
Java Basic Syntax
Java Basic SyntaxJava Basic Syntax
Java Basic Syntax
 
Java threads
Java threadsJava threads
Java threads
 
Life cycle-of-a-thread
Life cycle-of-a-threadLife cycle-of-a-thread
Life cycle-of-a-thread
 
Processes and-threads
Processes and-threadsProcesses and-threads
Processes and-threads
 
Java basic-syntax
Java basic-syntaxJava basic-syntax
Java basic-syntax
 

Último

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 

Último (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Write Once, Run Anywhere - Java Apps are Platform Independent

  • 1.
  • 2. 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.
  • 3. Java Byte code can only be understandable by JVM. Java class is written in Unicode characters. Java compiler convert these Unicode characters into Byte code. JVM is native code and specific to OS
  • 4. class file format Java bytecode is the instruction set of the Java virtual machine.
  • 5. 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.
  • 6. Java's sophisticated memory management, native support for threading and concurrency, type safety, and relative simplicity have created a demand for its use in many domains.
  • 7. 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
  • 8. 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.
  • 9. 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.
  • 10. 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
  • 11. Java Environment Java comes in two flavors : ● JRE - Java Runtime Environment ● JDK – Java Development Kit You can download any of these two.
  • 12. 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.
  • 13. Java Development Kit (JDK) 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. JDK is a collection of tools for developing, packaging and distributing Java applications.
  • 14. 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.
  • 15. Popular Java Editors ● Notepad++ ● Eclipse