SlideShare a Scribd company logo
Chapter One Java
Introduction
• Java programming language was originally developed by Sun
Microsystems which was initiated by James Gosling.
• With the advancement of Java and its widespread popularity,
multiple configurations were built to suite various types of
platforms. Ex: J2EE for Enterprise Applications, J2ME for Mobile
Applications.
• Sun Microsystems has renamed the new J2 versions as Java SE,
Java EE and Java ME, respectively. Java is guaranteed to be Write
Once, Run Anywhere.
Java Features
• Object Oriented: In Java, everything is an Object. Java can be easily
extended since it is based on the Object model.
• Platform independent: Unlike many other programming languages
including C and C++, when Java is compiled, it is not compiled into
platform specific machine, rather into platform independent byte
code.
This byte code is distributed over the web and interpreted by virtual
Machine (JVM) on whichever platform it is being run.
• Simple: Java is designed to be easy to learn. If you understand the
basic concept of OOP, Java would be easy to master.
Continue..
• Secure: With Java's secure feature, it enables to develop virus-free.
Authentication techniques are based on public-key encryption.
• Architectural-neutral: Java compiler generates an architecture-
neutral object file format, which makes the compiled code to be
executable on many processors, with the presence of Java runtime
system.
• Portable: Being architectural-neutral and having no
implementation dependent aspects of the specification makes Java
portable.
Continue..
Robust: Java makes an effort to eliminate error prone situations by
emphasizing mainly on compile time error checking and runtime
checking.
Multithreaded: With Java's multithreaded feature, it is possible to write
programs that can do many tasks simultaneously. This design feature
allows developers to construct smoothly running interactive
applications.
Interpreted: Java byte code is translated on the fly to native
machine instructions and is not stored anywhere. The development
process is more rapid and analytical since the linking is an incremental
and lightweight process.
Continue..
High Performance: With the use of Just-In-Time compilers, Java enables
high performance.
Distributed: Java is designed for the distributed environment of the
internet.
Dynamic: Java is considered to be more dynamic than C or C++
since it is designed to adapt to an evolving environment. Java
programs can carry extensive amount of run-time information that
can be used to verify and resolve accesses to objects on run-time.
History of Java
• James Gosling initiated the Java language project in June 1991 for
use in one of his many set-top box projects.
• The language, initially called Oak after an oak tree that stood
outside Gosling's office, also went by the name Green and ended
up later being renamed as Java, from a list of random words.
• Sun released the first public implementation as Java 1.0 in 1995.
It promised Write Once, Run Anywhere (WORA), providing no-cost
run-times on popular platforms.
Continue..
• On 13 November 2006, Sun released much of Java as free and open
source software under the terms of the GNU General Public License
(GPL).
• On 8 May 2007, Sun finished the process, making all of Java's core
code free and open-source, aside from a small portion of code to
which Sun did not hold the copyright.
Tools you need
You will need the following software's:
• Linux 7.1 or Windows 95/98/2000/XP/Visa/Seven or later operating
system.
• Java JDK
• Microsoft Notepad or any other text editor
Java Virtual Machine (JVM)
• The Java virtual machine (JVM) is a software implementation of
a computer that executes programs like a real machine.
The Java virtual machine is written specifically for a specific
operating system, e.g., for Linux a special implementation is required as
well as for Windows.
Java programs are compiled by the Java compiler into bytecode. The
Java virtual machine interprets this bytecode and executes the Java
program.
Continue..
Java Runtime Environment vs. Java
Development Kit
A Java distribution typically comes in two flavors, the Java Runtime
Environment (JRE) and the Java Development Kit (JDK).
The Java runtime environment (JRE) consists of the JVM and the Java
class libraries. Those contain the necessary functionality to start Java
programs.
The JDK additionally contains the development tools necessary to create
Java programs. The JDK therefore consists of a JRE and development tools.
Thank You

More Related Content

PPTX
Presentation on java (8)
PDF
02 java programming features of java i
PPTX
1 java introduction
PPTX
JAVA Career
PPTX
Introduction to java
PPTX
Presentation on Java Basic
PPTX
Java history 01
PPTX
Java the reason behind its never ending demand
Presentation on java (8)
02 java programming features of java i
1 java introduction
JAVA Career
Introduction to java
Presentation on Java Basic
Java history 01
Java the reason behind its never ending demand

What's hot (19)

PPTX
PPTX
Java Presentation
PPTX
Features of java
PPTX
Java presentation
PDF
Java introduction
PPTX
Bootstrapping a simple enterprise application with Java EE successor, Jakarta...
PPTX
JAVA ENVIRONMENT
PPTX
Java introduction
PPTX
Java History
PPTX
Core java environment setup and details
PPTX
BlueJ Two
PPTX
Features of java 02
PDF
Learn Java Part 1
PPTX
ITS320 Presentation
PPTX
Its320 power point
PPTX
Java presetstion
PDF
History of Java 1/2
PPT
The Evolution of Java
PPTX
JRE , JDK and platform independent nature of JAVA
Java Presentation
Features of java
Java presentation
Java introduction
Bootstrapping a simple enterprise application with Java EE successor, Jakarta...
JAVA ENVIRONMENT
Java introduction
Java History
Core java environment setup and details
BlueJ Two
Features of java 02
Learn Java Part 1
ITS320 Presentation
Its320 power point
Java presetstion
History of Java 1/2
The Evolution of Java
JRE , JDK and platform independent nature of JAVA
Ad

Similar to Chapter 1 java (20)

PPT
Introduction to Core Java feature and its characteristics
PDF
TechSearchWeb Tutorials.pdf
PDF
TechSearchWeb.pdf
PDF
Technology Tutorial.pdf
PDF
Overview of Java.pdf
PDF
Overview of Java (1).pdf
PDF
Java Basic.pdf
PPTX
Unit1- OOPJ Chapter-1 Object Oriented Programming JAVA.pptx
PPTX
Java (1)
PPTX
Java 2 computer science.pptx
PPTX
PPTX
Programming in java ppt
PPTX
Programming in java ppt
PPTX
UNIT 1 Programming in java Bsc program.pptx
PPTX
Java programming Introduction | Java basic architecture
PDF
Java Introduction | PDF
PDF
130700548484460000
DOCX
Java Tutorial to Learn Java Programming
PDF
java language features and explanation with ex
PPTX
Java ms harsha
Introduction to Core Java feature and its characteristics
TechSearchWeb Tutorials.pdf
TechSearchWeb.pdf
Technology Tutorial.pdf
Overview of Java.pdf
Overview of Java (1).pdf
Java Basic.pdf
Unit1- OOPJ Chapter-1 Object Oriented Programming JAVA.pptx
Java (1)
Java 2 computer science.pptx
Programming in java ppt
Programming in java ppt
UNIT 1 Programming in java Bsc program.pptx
Java programming Introduction | Java basic architecture
Java Introduction | PDF
130700548484460000
Java Tutorial to Learn Java Programming
java language features and explanation with ex
Java ms harsha
Ad

More from Ahmad sohail Kakar (20)

PPTX
Lec 1 network types
PPTX
Lec 1 introduction
PPTX
Active directory restoration
PPTX
Active directory backup
PPT
Seii unit7 component-level-design
PPT
Seii unit6 software-testing-techniques
PPT
Seii unit5 ui_design
PPT
Seii unit4 software_process
PPT
Se ii unit3-architectural-design
PPT
Se ii unit2-software_design_principles
PPT
Se ii unit1-se_ii_intorduction
PDF
Second chapter-java
DOCX
Second chapter-java
PPTX
Chapter 9 java
PPTX
Chapter 8 java
PPTX
Chapter 7 java
PPTX
Chapter 6 java
PPTX
Chapter 5 java
PPTX
Chapter 4 java
PPTX
Chapter 3 java
Lec 1 network types
Lec 1 introduction
Active directory restoration
Active directory backup
Seii unit7 component-level-design
Seii unit6 software-testing-techniques
Seii unit5 ui_design
Seii unit4 software_process
Se ii unit3-architectural-design
Se ii unit2-software_design_principles
Se ii unit1-se_ii_intorduction
Second chapter-java
Second chapter-java
Chapter 9 java
Chapter 8 java
Chapter 7 java
Chapter 6 java
Chapter 5 java
Chapter 4 java
Chapter 3 java

Recently uploaded (20)

PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Business Ethics Teaching Materials for college
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
RMMM.pdf make it easy to upload and study
PDF
01-Introduction-to-Information-Management.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Anesthesia in Laparoscopic Surgery in India
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Week 4 Term 3 Study Techniques revisited.pptx
human mycosis Human fungal infections are called human mycosis..pptx
Business Ethics Teaching Materials for college
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Microbial disease of the cardiovascular and lymphatic systems
Pharmacology of Heart Failure /Pharmacotherapy of CHF
RMMM.pdf make it easy to upload and study
01-Introduction-to-Information-Management.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
VCE English Exam - Section C Student Revision Booklet
STATICS OF THE RIGID BODIES Hibbelers.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Cell Types and Its function , kingdom of life
Renaissance Architecture: A Journey from Faith to Humanism
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES

Chapter 1 java

  • 2. Introduction • Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling. • With the advancement of Java and its widespread popularity, multiple configurations were built to suite various types of platforms. Ex: J2EE for Enterprise Applications, J2ME for Mobile Applications. • Sun Microsystems has renamed the new J2 versions as Java SE, Java EE and Java ME, respectively. Java is guaranteed to be Write Once, Run Anywhere.
  • 3. Java Features • Object Oriented: In Java, everything is an Object. Java can be easily extended since it is based on the Object model. • Platform independent: Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by virtual Machine (JVM) on whichever platform it is being run. • Simple: Java is designed to be easy to learn. If you understand the basic concept of OOP, Java would be easy to master.
  • 4. Continue.. • Secure: With Java's secure feature, it enables to develop virus-free. Authentication techniques are based on public-key encryption. • Architectural-neutral: Java compiler generates an architecture- neutral object file format, which makes the compiled code to be executable on many processors, with the presence of Java runtime system. • Portable: Being architectural-neutral and having no implementation dependent aspects of the specification makes Java portable.
  • 5. Continue.. Robust: Java makes an effort to eliminate error prone situations by emphasizing mainly on compile time error checking and runtime checking. Multithreaded: With Java's multithreaded feature, it is possible to write programs that can do many tasks simultaneously. This design feature allows developers to construct smoothly running interactive applications. Interpreted: Java byte code is translated on the fly to native machine instructions and is not stored anywhere. The development process is more rapid and analytical since the linking is an incremental and lightweight process.
  • 6. Continue.. High Performance: With the use of Just-In-Time compilers, Java enables high performance. Distributed: Java is designed for the distributed environment of the internet. Dynamic: Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. Java programs can carry extensive amount of run-time information that can be used to verify and resolve accesses to objects on run-time.
  • 7. History of Java • James Gosling initiated the Java language project in June 1991 for use in one of his many set-top box projects. • The language, initially called Oak after an oak tree that stood outside Gosling's office, also went by the name Green and ended up later being renamed as Java, from a list of random words. • Sun released the first public implementation as Java 1.0 in 1995. It promised Write Once, Run Anywhere (WORA), providing no-cost run-times on popular platforms.
  • 8. Continue.. • On 13 November 2006, Sun released much of Java as free and open source software under the terms of the GNU General Public License (GPL). • On 8 May 2007, Sun finished the process, making all of Java's core code free and open-source, aside from a small portion of code to which Sun did not hold the copyright.
  • 9. Tools you need You will need the following software's: • Linux 7.1 or Windows 95/98/2000/XP/Visa/Seven or later operating system. • Java JDK • Microsoft Notepad or any other text editor
  • 10. Java Virtual Machine (JVM) • The Java virtual machine (JVM) is a software implementation of a computer that executes programs like a real machine. The Java virtual machine is written specifically for a specific operating system, e.g., for Linux a special implementation is required as well as for Windows. Java programs are compiled by the Java compiler into bytecode. The Java virtual machine interprets this bytecode and executes the Java program.
  • 12. Java Runtime Environment vs. Java Development Kit A Java distribution typically comes in two flavors, the Java Runtime Environment (JRE) and the Java Development Kit (JDK). The Java runtime environment (JRE) consists of the JVM and the Java class libraries. Those contain the necessary functionality to start Java programs. The JDK additionally contains the development tools necessary to create Java programs. The JDK therefore consists of a JRE and development tools.