Lecture 3
Lecture 3
2
Content
(Unit I)
Principles of Object-Oriented Programming
Chapter 1.1:
Lecture1.1.3-
1. JDK (Java Development Kit)
2. JRE (Java Runtime Environment)
3. JVM (Java Virtual Machine)
3
Objectives/Outcomes
CO1: Identify the ways to implement the inheritance concept in
the Java programming language.
4
Java Development Kit(JDK)
• The Java Development Kit (JDK) is an implementation of either one of the Java
Platform, Standard Edition, Java Platform, Enterprise Edition, or Java Platform,
Micro Edition platforms released by Oracle Corporation in the form of a binary
product aimed at Java developers on Solaris, Linux, macOS or Windows.
• The JDK includes a private JVM and a few other resources to finish the
development of a Java Application.
5
Java Development Kit(JDK) Contd
Fig 1: JDK[1]
6
Main programs in SDK
7
Main programs in SDK Contd.
• jdb – the java debugger to find and fix bugs in java programs
• javap - the java disassembler to display the accessible functions and data in a
compiled class, it also displays the meaning of byte code.
• javah – to create interface between java and C routines
8
Packages in Java
• java.awt - for abstract window toolkit for designing GUI like buttons, checkbox,
menu, panel etc.
9
Packages in Java Contd.
10
Packages in Java Contd.
• java.util - it contain miscellaneous classes like Vector, Stack, List, Date etc.
11
Other Tools for Java Programming
Java IDE (Integrated Development Environment)
Number of IDE’s are available to support the productivity of software development
The most common are:
• IntelliJ IDEA
• Eclipse
• Netbeans
12
Other Tools for Java Programming
IntelliJ IDEA
https://www.jetbrains.com/idea/
Eclipse
https://www.eclipse.org/
Netbeans
https://netbeans.org/
13
Java Runtime Environment (JRE)
• JRE is the part of JDK.
• It is a freely available software
distribution which has Java Class
Library, specific tools, and a stand-
alone JVM.
• If you wish to run this bytecode on
any platform, you require JRE.
• The JRE loads classes, verify access
to memory, and retrieves the system
resources. JRE acts as a layer on the
top of the operating system.
Fig 2: JRE[2]
14
Java Virtual Machine(JVM)
15
Java Virtual Machine(JVM) Contd.
16
References
• Fig 1: https://www.javatpoint.com/difference-between-jdk-jre-and-jvm
• Fig 2: https://www.javatpoint.com/java-jre
17
References
• https://en.wikipedia.org/wiki/Java_Development_Kit
• https://www.digimat.in/nptel/courses/video/106105191/L02.html
• https://jelastic.com/blog/netbeans-ide-integration/
• https://netbeans.org/
• https://www.eclipse.org/
• https://www.jetbrains.com/idea/
• https://www.javatpoint.com/difference-between-jdk-jre-and-jvm
• https://www.javatpoint.com/java-jre
18
THANK YOU