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.

More Related Content

PPTX
JAVA ENVIRONMENT
PPTX
JRE , JDK and platform independent nature of JAVA
PPTX
Core java environment setup and details
PPTX
Presentation on Java Basic
PPTX
Jdk,jre,jvm
PPT
The Evolution of Java
PDF
itft-Java evolution
PPTX
Java history 01
JAVA ENVIRONMENT
JRE , JDK and platform independent nature of JAVA
Core java environment setup and details
Presentation on Java Basic
Jdk,jre,jvm
The Evolution of Java
itft-Java evolution
Java history 01

What's hot (19)

PPTX
Features of java
PPTX
The Java Story
PDF
Lec 3 01_aug13
PPTX
PPTX
Java History
PDF
Java basics.....
PPTX
Java ms harsha
PPT
Evolution Of Java
PPTX
1 java introduction
DOCX
PDF
02 java programming features of java i
PDF
Java introduction with JVM architecture
PPT
A begineers guide of JAVA - Getting Started
PPTX
PPT
Basic javaprogramming(session1)
PPTX
Presentation on java (8)
PPTX
Chapter 1 java
PPTX
Java Course In Thane,Mumbai
PPTX
Features of java 02
Features of java
The Java Story
Lec 3 01_aug13
Java History
Java basics.....
Java ms harsha
Evolution Of Java
1 java introduction
02 java programming features of java i
Java introduction with JVM architecture
A begineers guide of JAVA - Getting Started
Basic javaprogramming(session1)
Presentation on java (8)
Chapter 1 java
Java Course In Thane,Mumbai
Features of java 02
Ad

Viewers also liked (20)

PPTX
Russian Answer To Sherlock Holmes
PPT
Summer Reading 2011-2012
PPSX
Rampart services corporate ppt
PDF
Most contagious2011
PPTX
Webquest assistive technology_activity_amy_smith
PPTX
Introducing docker
PDF
British Basketball Game On Strategy - 2008-2013
PPTX
اول عرض تجربة
PPTX
Top 8 office administration assistant resume samples
PPTX
ASSIGNMENT-I
PPTX
Rio Global inc presentation
PPTX
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
PPTX
Alyson Martinez
DOCX
PPT
notforsale
PPT
Komp Podhod
PPTX
Front cover and contents page pictures
PDF
Slideshare net d_csoport
PPTX
Russian Answer To Sherlock Holmes
Summer Reading 2011-2012
Rampart services corporate ppt
Most contagious2011
Webquest assistive technology_activity_amy_smith
Introducing docker
British Basketball Game On Strategy - 2008-2013
اول عرض تجربة
Top 8 office administration assistant resume samples
ASSIGNMENT-I
Rio Global inc presentation
104.09.09 1-德國農莊-顧客行為分析-創造顧客價值與創造消費者需求-詹翔霖教授
Alyson Martinez
notforsale
Komp Podhod
Front cover and contents page pictures
Slideshare net d_csoport
Ad

Similar to Java ppt1 (20)

PDF
Core Java-1 (1).pdf
PPTX
JAVA_Day1_BasicIntroduction.pptx
PPTX
JAVAPart1_BasicIntroduction.pptx
PDF
What is-java
PPTX
Introduction to java
PPTX
Introduction to java
PPTX
Lecture java variable , data type, token
PPTX
java intro.pptx
PDF
JAVA AND ANDROID OS_PRESENTATION
PPTX
Object Oriented Programming Part 1 of Unit 1
PPTX
Java Programming Tutorials Basic to Advanced 1
PPTX
Java programming(unit 1)
PPT
Introduction to Core Java feature and its characteristics
PPTX
Java chapter 1 basic introduction Unit-1.pptx
PPT
PPS Java Overview Unit I.ppt
PPT
PPS Java Overview Unit I.ppt
PPT
Core java slides
PDF
TechSearchWeb.pdf
PDF
Technology Tutorial.pdf
Core Java-1 (1).pdf
JAVA_Day1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
What is-java
Introduction to java
Introduction to java
Lecture java variable , data type, token
java intro.pptx
JAVA AND ANDROID OS_PRESENTATION
Object Oriented Programming Part 1 of Unit 1
Java Programming Tutorials Basic to Advanced 1
Java programming(unit 1)
Introduction to Core Java feature and its characteristics
Java chapter 1 basic introduction Unit-1.pptx
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
Core java slides
TechSearchWeb.pdf
Technology Tutorial.pdf

More from nikhilsh66131 (8)

PDF
PDF
PDF
PDF
Introduction to css
PDF
Html beginners tutorial
PPT
Bubble and-merge-sort
PDF
Java ppt2
PDF
Java ppt2
Introduction to css
Html beginners tutorial
Bubble and-merge-sort
Java ppt2
Java ppt2

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Classroom Observation Tools for Teachers
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Business Ethics Teaching Materials for college
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Microbial disease of the cardiovascular and lymphatic systems
Week 4 Term 3 Study Techniques revisited.pptx
Anesthesia in Laparoscopic Surgery in India
VCE English Exam - Section C Student Revision Booklet
Classroom Observation Tools for Teachers
2.FourierTransform-ShortQuestionswithAnswers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Structure & Organelles in detailed.
O7-L3 Supply Chain Operations - ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Business Ethics Teaching Materials for college

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.