SlideShare a Scribd company logo
Introduction to Java, Principles, Versions, JDK, Java Compilation Process, Java
Is Platform Independent, Java as Platform
• Java is a general-purpose object-oriented computer programming language.
• It is intended to let application developers "write once, run anywhere" (WORA),
meaning that compiled Java code can run on all platforms that support Java without the
need for recompilation.
• Java applications are typically compiled to bytecode that can run on any Java virtual
machine (JVM) regardless of computer architecture.
• Java was originally developed by James Gosling at Sun Microsystems (which has since
been acquired by Oracle Corporation) and released in 1995 as a core component of Sun
Microsystems' Java platform.
There were five primary goals in the creation of the Java language:
1. It must be "simple, object-oriented and familiar".
2. It must be "robust and secure".
3. It must be "architecture-neutral and portable".
4. It must execute with "high performance".
5. It must be "interpreted, threaded, and dynamic".
Major release versions of Java, along with their release dates:
1. JDK 1.0 (January 21, 1996)
2. JDK 1.1 (February 19, 1997)
3. J2SE 1.2 (December 8, 1998)
4. J2SE 1.3 (May 8, 2000)
5. J2SE 1.4 (February 6, 2002)
6. J2SE 5.0 (September 30, 2004)
7. Java SE 6 (December 11, 2006)
8. Java SE 7 (July 28, 2011)
9. Java SE 8 (March 18, 2014)
The Java Development Kit (JDK) is an implementation of either one of the Java SE(Standard
Edition), Java EE(Enterprise Edition) or Java ME(Micro Edition) platforms released by Oracle
Corporation in the form of a binary product aimed at Java developers on Solaris, Linux, Mac
OS X or Windows. The JDK includes a private JVM and a few other resources to finish the
recipe to a Java Application.
The JDK has as its primary components a collection of programming tools, including:
• java – the loader for Java applications. This tool is an interpreter and can interpret the
class files generated by the javac compiler. Now a single launcher is used for both
development and deployment. The old deployment launcher, jre, no longer comes with
Sun JDK, and instead it has been replaced by this new java loader.
• javac – the Java compiler, which converts source code into Java bytecode
• javadoc – the documentation generator, which automatically generates documentation
from source code comments
• jar – the archiver, which packages related class libraries into a single JAR file. This tool
also helps manage JAR files.
• jdb – the debugger
• javap – the class file disassembler
And many more
Interpreter for LINUX
Interpreter for
Windows
Interpreter for
Windows
Java Source Code(For example: Abc.java)
Byte Code(For example: Abc.class)
Compile(using “javac”)
JVM(Java Virtual Machine)
Interpret the Byte code using
“java”
Machine Code Machine Code Machine Code
One design goal of Java is portability, which means that programs written for the Java platform
must run similarly on any combination of hardware and operating system with adequate runtime
support. This is achieved by compiling the Java language code to an intermediate representation
called Java bytecode, instead of directly to architecture-specific machine code. Java bytecode
instructions are analogous to machine code, but they are intended to be executed by a virtual
machine (VM) written specifically for the host hardware. End users commonly use a Java Runtime
Environment (JRE) installed on their own machine for standalone Java applications, or in a web
browser for Java applets.
The Java platform is a suite of programs that facilitate developing and running programs written in
the Java programming language. The platform is not specific to any one processor or operating
system, rather an execution engine (called a virtual machine) and a compiler with a set of libraries
are implemented for various hardware and operating systems so that Java programs can run
identically on all of them. There are multiple platforms, each targeting a different class of devices:
Java Card: A technology that allows small Java-based applications (applets) to be run securely on
smart cards and similar small-memory devices.
Java ME (Micro Edition): Specifies several different sets of libraries (known as profiles) for devices
with limited storage, display, and power capacities. Often used to develop applications for mobile
devices, PDAs, TV set-top boxes, and printers.
Java SE (Standard Edition): For general-purpose use on desktop PCs, servers and similar devices.
Java EE (Enterprise Edition): Java SE plus various APIs useful for multi-tier client–server enterprise
applications.
The Java platform consists of several programs, each of which provides a portion of its overall
capabilities. For example, the Java compiler, which converts Java source code into Java bytecode
(an intermediate language for the JVM), is provided as part of the Java Development Kit (JDK). The
Java Runtime Environment (JRE), complementing the JVM with a just-in-time (JIT) compiler,
converts intermediate bytecode into native machine code on the fly. An extensive set of libraries
are also part of the Java platform.
Ad

More Related Content

What's hot (19)

Features of java
Features of javaFeatures of java
Features of java
WILLFREDJOSE W
 
The Java Story
The Java StoryThe Java Story
The Java Story
David Parsons
 
Lec 3 01_aug13
Lec 3 01_aug13Lec 3 01_aug13
Lec 3 01_aug13
Palak Sanghani
 
Java 1
Java 1Java 1
Java 1
KadarkaraiSelvam
 
Java History
Java HistoryJava History
Java History
Prionto Abdullah
 
Java basics.....
Java basics.....Java basics.....
Java basics.....
JYOTI RANJAN PAL
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
Harsha Batra
 
Evolution Of Java
Evolution Of JavaEvolution Of Java
Evolution Of Java
Munish Gupta
 
1 java introduction
1 java introduction1 java introduction
1 java introduction
abdullah al mahamud rosi
 
Java
JavaJava
Java
Abhishek Sharma
 
02 java programming features of java i
02 java programming features of java  i02 java programming features of java  i
02 java programming features of java i
Ravi Patki
 
Java introduction with JVM architecture
Java introduction with JVM architectureJava introduction with JVM architecture
Java introduction with JVM architecture
atozknowledge .com
 
A begineers guide of JAVA - Getting Started
 A begineers guide of JAVA - Getting Started A begineers guide of JAVA - Getting Started
A begineers guide of JAVA - Getting Started
Rakesh Madugula
 
Java JVM
Java JVMJava JVM
Java JVM
KadarkaraiSelvam
 
Basic javaprogramming(session1)
Basic javaprogramming(session1)Basic javaprogramming(session1)
Basic javaprogramming(session1)
Barm Bannasan
 
Presentation on java (8)
Presentation on java (8)Presentation on java (8)
Presentation on java (8)
Shwetakant1
 
Chapter 1 java
Chapter 1 java Chapter 1 java
Chapter 1 java
Ahmad sohail Kakar
 
Java Course In Thane,Mumbai
Java Course In Thane,MumbaiJava Course In Thane,Mumbai
Java Course In Thane,Mumbai
nettech90
 
Features of java 02
Features of java 02Features of java 02
Features of java 02
University of Potsdam
 

Viewers also liked (20)

Russian Answer To Sherlock Holmes
Russian Answer To Sherlock HolmesRussian Answer To Sherlock Holmes
Russian Answer To Sherlock Holmes
Lily Lake
 
Summer Reading 2011-2012
Summer Reading 2011-2012Summer Reading 2011-2012
Summer Reading 2011-2012
Miami-Dade County Public Schools
 
Rampart services corporate ppt
Rampart services corporate pptRampart services corporate ppt
Rampart services corporate ppt
Rampart Services
 
Most contagious2011
Most contagious2011Most contagious2011
Most contagious2011
Plínio Okamoto
 
Webquest assistive technology_activity_amy_smith
Webquest assistive technology_activity_amy_smithWebquest assistive technology_activity_amy_smith
Webquest assistive technology_activity_amy_smith
amycaroline50
 
Introducing docker
Introducing dockerIntroducing docker
Introducing docker
Dharmit Shah
 
British Basketball Game On Strategy - 2008-2013
British Basketball Game On Strategy - 2008-2013British Basketball Game On Strategy - 2008-2013
British Basketball Game On Strategy - 2008-2013
Hoopsfix
 
اول عرض تجربة
اول عرض تجربةاول عرض تجربة
اول عرض تجربة
sarah1992aziz
 
Top 8 office administration assistant resume samples
Top 8 office administration assistant resume samplesTop 8 office administration assistant resume samples
Top 8 office administration assistant resume samples
ElliottYamin012
 
ASSIGNMENT-I
ASSIGNMENT-IASSIGNMENT-I
ASSIGNMENT-I
sowmiya selvaraj
 
Rio Global inc presentation
Rio Global inc presentationRio Global inc presentation
Rio Global inc presentation
Rio Global
 
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
文化大學
 
Alyson Martinez
Alyson MartinezAlyson Martinez
Alyson Martinez
MrLawler
 
Cmmaao pvt-ltd-pmi
Cmmaao pvt-ltd-pmiCmmaao pvt-ltd-pmi
Cmmaao pvt-ltd-pmi
Resume_Presales_7yrsEXP_VishvasYadav
 
notforsale
notforsalenotforsale
notforsale
irvingb323
 
Komp Podhod
Komp PodhodKomp Podhod
Komp Podhod
mazaeva
 
Front cover and contents page pictures
Front cover and contents page picturesFront cover and contents page pictures
Front cover and contents page pictures
asmediae15
 
Slideshare net d_csoport
Slideshare net d_csoportSlideshare net d_csoport
Slideshare net d_csoport
medley79
 
Венера
ВенераВенера
Венера
Анна Демидова
 
Session 10
Session 10Session 10
Session 10
Miami-Dade County Public Schools
 
Russian Answer To Sherlock Holmes
Russian Answer To Sherlock HolmesRussian Answer To Sherlock Holmes
Russian Answer To Sherlock Holmes
Lily Lake
 
Rampart services corporate ppt
Rampart services corporate pptRampart services corporate ppt
Rampart services corporate ppt
Rampart Services
 
Webquest assistive technology_activity_amy_smith
Webquest assistive technology_activity_amy_smithWebquest assistive technology_activity_amy_smith
Webquest assistive technology_activity_amy_smith
amycaroline50
 
Introducing docker
Introducing dockerIntroducing docker
Introducing docker
Dharmit Shah
 
British Basketball Game On Strategy - 2008-2013
British Basketball Game On Strategy - 2008-2013British Basketball Game On Strategy - 2008-2013
British Basketball Game On Strategy - 2008-2013
Hoopsfix
 
اول عرض تجربة
اول عرض تجربةاول عرض تجربة
اول عرض تجربة
sarah1992aziz
 
Top 8 office administration assistant resume samples
Top 8 office administration assistant resume samplesTop 8 office administration assistant resume samples
Top 8 office administration assistant resume samples
ElliottYamin012
 
Rio Global inc presentation
Rio Global inc presentationRio Global inc presentation
Rio Global inc presentation
Rio Global
 
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
文化大學
 
Alyson Martinez
Alyson MartinezAlyson Martinez
Alyson Martinez
MrLawler
 
Komp Podhod
Komp PodhodKomp Podhod
Komp Podhod
mazaeva
 
Front cover and contents page pictures
Front cover and contents page picturesFront cover and contents page pictures
Front cover and contents page pictures
asmediae15
 
Slideshare net d_csoport
Slideshare net d_csoportSlideshare net d_csoport
Slideshare net d_csoport
medley79
 
Ad

Similar to Java ppt1 (20)

Core Java-1 (1).pdf
Core Java-1 (1).pdfCore Java-1 (1).pdf
Core Java-1 (1).pdf
HaskellKohler1234
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
What is-java
What is-javaWhat is-java
What is-java
Shahid Rasheed
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Saba Ameer
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
java intro.pptx
java intro.pptxjava intro.pptx
java intro.pptx
MangaiyarkarasiDurai
 
JAVA AND ANDROID OS_PRESENTATION
JAVA AND ANDROID OS_PRESENTATIONJAVA AND ANDROID OS_PRESENTATION
JAVA AND ANDROID OS_PRESENTATION
Benjamin Agboola
 
Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
Dr. SURBHI SAROHA
 
Java
JavaJava
Java
sasi saseenthiran
 
Introduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristicsIntroduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
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
noosdysharma
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
RajeshSukte1
 
Core java slides
Core java slidesCore java slides
Core java slides
Abhilash Nair
 
TechSearchWeb.pdf
TechSearchWeb.pdfTechSearchWeb.pdf
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
TechSearchWeb
 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
RahulAnand111531
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Saba Ameer
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
JAVA AND ANDROID OS_PRESENTATION
JAVA AND ANDROID OS_PRESENTATIONJAVA AND ANDROID OS_PRESENTATION
JAVA AND ANDROID OS_PRESENTATION
Benjamin Agboola
 
Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1Java Programming Tutorials Basic to Advanced 1
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
Introduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristicsIntroduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
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
noosdysharma
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
RajeshSukte1
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
TechSearchWeb
 
Ad

More from nikhilsh66131 (8)

Pl sql
Pl sqlPl sql
Pl sql
nikhilsh66131
 
Pl sql
Pl sqlPl sql
Pl sql
nikhilsh66131
 
Pl sql
Pl sqlPl sql
Pl sql
nikhilsh66131
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
nikhilsh66131
 
Html beginners tutorial
Html beginners tutorialHtml beginners tutorial
Html beginners tutorial
nikhilsh66131
 
Bubble and-merge-sort
Bubble and-merge-sortBubble and-merge-sort
Bubble and-merge-sort
nikhilsh66131
 
Java ppt2
Java ppt2Java ppt2
Java ppt2
nikhilsh66131
 
Java ppt2
Java ppt2Java ppt2
Java ppt2
nikhilsh66131
 

Recently uploaded (20)

Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptxUnit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Mayuri Chavan
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Redesigning Education as a Cognitive Ecosystem: Practical Insights into Emerg...
Leonel Morgado
 
CNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscessCNS infections (encephalitis, meningitis & Brain abscess
CNS infections (encephalitis, meningitis & Brain abscess
Mohamed Rizk Khodair
 
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon DolabaniHistory Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
History Of The Monastery Of Mor Gabriel Philoxenos Yuhanon Dolabani
fruinkamel7m
 
Chemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptxChemotherapy of Malignancy -Anticancer.pptx
Chemotherapy of Malignancy -Anticancer.pptx
Mayuri Chavan
 
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptxU3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
U3 ANTITUBERCULAR DRUGS Pharmacology 3.pptx
Mayuri Chavan
 
Cyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top QuestionsCyber security COPA ITI MCQ Top Questions
Cyber security COPA ITI MCQ Top Questions
SONU HEETSON
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptxUnit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Unit 5 ACUTE, SUBACUTE,CHRONIC TOXICITY.pptx
Mayuri Chavan
 
Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)Myasthenia gravis (Neuromuscular disorder)
Myasthenia gravis (Neuromuscular disorder)
Mohamed Rizk Khodair
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx2025 The Senior Landscape and SET plan preparations.pptx
2025 The Senior Landscape and SET plan preparations.pptx
mansk2
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFAMEDICAL BIOLOGY MCQS  BY. DR NASIR MUSTAFA
MEDICAL BIOLOGY MCQS BY. DR NASIR MUSTAFA
Dr. Nasir Mustafa
 
Origin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theoriesOrigin of Brahmi script: A breaking down of various theories
Origin of Brahmi script: A breaking down of various theories
PrachiSontakke5
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 

Java ppt1

  • 1. Introduction to Java, Principles, Versions, JDK, Java Compilation Process, Java Is Platform Independent, Java as Platform
  • 2. • Java is a general-purpose object-oriented computer programming language. • It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. • Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. • Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform.
  • 3. There were five primary goals in the creation of the Java language: 1. It must be "simple, object-oriented and familiar". 2. It must be "robust and secure". 3. It must be "architecture-neutral and portable". 4. It must execute with "high performance". 5. It must be "interpreted, threaded, and dynamic". Major release versions of Java, along with their release dates: 1. JDK 1.0 (January 21, 1996) 2. JDK 1.1 (February 19, 1997) 3. J2SE 1.2 (December 8, 1998) 4. J2SE 1.3 (May 8, 2000) 5. J2SE 1.4 (February 6, 2002) 6. J2SE 5.0 (September 30, 2004) 7. Java SE 6 (December 11, 2006) 8. Java SE 7 (July 28, 2011) 9. Java SE 8 (March 18, 2014)
  • 4. The Java Development Kit (JDK) is an implementation of either one of the Java SE(Standard Edition), Java EE(Enterprise Edition) or Java ME(Micro Edition) platforms released by Oracle Corporation in the form of a binary product aimed at Java developers on Solaris, Linux, Mac OS X or Windows. The JDK includes a private JVM and a few other resources to finish the recipe to a Java Application. The JDK has as its primary components a collection of programming tools, including: • java – the loader for Java applications. This tool is an interpreter and can interpret the class files generated by the javac compiler. Now a single launcher is used for both development and deployment. The old deployment launcher, jre, no longer comes with Sun JDK, and instead it has been replaced by this new java loader. • javac – the Java compiler, which converts source code into Java bytecode • javadoc – the documentation generator, which automatically generates documentation from source code comments • jar – the archiver, which packages related class libraries into a single JAR file. This tool also helps manage JAR files. • jdb – the debugger • javap – the class file disassembler And many more
  • 5. Interpreter for LINUX Interpreter for Windows Interpreter for Windows Java Source Code(For example: Abc.java) Byte Code(For example: Abc.class) Compile(using “javac”) JVM(Java Virtual Machine) Interpret the Byte code using “java” Machine Code Machine Code Machine Code
  • 6. One design goal of Java is portability, which means that programs written for the Java platform must run similarly on any combination of hardware and operating system with adequate runtime support. This is achieved by compiling the Java language code to an intermediate representation called Java bytecode, instead of directly to architecture-specific machine code. Java bytecode instructions are analogous to machine code, but they are intended to be executed by a virtual machine (VM) written specifically for the host hardware. End users commonly use a Java Runtime Environment (JRE) installed on their own machine for standalone Java applications, or in a web browser for Java applets.
  • 7. The Java platform is a suite of programs that facilitate developing and running programs written in the Java programming language. The platform is not specific to any one processor or operating system, rather an execution engine (called a virtual machine) and a compiler with a set of libraries are implemented for various hardware and operating systems so that Java programs can run identically on all of them. There are multiple platforms, each targeting a different class of devices: Java Card: A technology that allows small Java-based applications (applets) to be run securely on smart cards and similar small-memory devices. Java ME (Micro Edition): Specifies several different sets of libraries (known as profiles) for devices with limited storage, display, and power capacities. Often used to develop applications for mobile devices, PDAs, TV set-top boxes, and printers. Java SE (Standard Edition): For general-purpose use on desktop PCs, servers and similar devices. Java EE (Enterprise Edition): Java SE plus various APIs useful for multi-tier client–server enterprise applications. The Java platform consists of several programs, each of which provides a portion of its overall capabilities. For example, the Java compiler, which converts Java source code into Java bytecode (an intermediate language for the JVM), is provided as part of the Java Development Kit (JDK). The Java Runtime Environment (JRE), complementing the JVM with a just-in-time (JIT) compiler, converts intermediate bytecode into native machine code on the fly. An extensive set of libraries are also part of the Java platform.
  翻译: