0% found this document useful (0 votes)
11 views19 pages

Lecture 3

The document outlines the syllabus for a Java Programming course, covering principles of object-oriented programming, the Java Development Kit (JDK), Java Runtime Environment (JRE), and Java Virtual Machine (JVM). It details the main programs in the SDK, various Java packages, and popular Integrated Development Environments (IDEs) for Java development. The document serves as a foundational guide for students learning Java programming concepts and tools.

Uploaded by

Deepak Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views19 pages

Lecture 3

The document outlines the syllabus for a Java Programming course, covering principles of object-oriented programming, the Java Development Kit (JDK), Java Runtime Environment (JRE), and Java Virtual Machine (JVM). It details the main programs in the SDK, various Java packages, and popular Integrated Development Environments (IDEs) for Java development. The document serves as a foundational guide for students learning Java programming concepts and tools.

Uploaded by

Deepak Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

UNIVERSITY INSTITUTE COMPUTING

BSc (CS)/ BCA


Subject Name: Java Programming
Code: 22SCT-351/22CAT-351

JAVA PROGRAMMING DISCOVER . LEARN . EMPOWER


1
Syllabus
Unit-I
Principles of Object-Oriented Programming

• Introduction: Introduction to Java, Basic Features, JVM Concepts, A Simple Java


Program, Primitive Data Type and Variables, Java Keywords,.

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

There are seven main programs in SDK


• javac – the Java Compiler
• java - the java interpreter
• javadoc – generates documentation in html
• appletviewer – the java interpreter to executes java applets

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

API (Application Programming Interface) in Java SDK


• The API enables Java Programmers to develop varieties of applets and applications
• The packages are :

• java.applet - for applet programming

• java.awt - for abstract window toolkit for designing GUI like buttons, checkbox,
menu, panel etc.

9
Packages in Java Contd.

• java.io – file input/output handling

• java.lang – provides useful classes like to handle objects, Threads, Exception,


String, System, Float, Integer etc.
• java.net– for network programming, supports TCP/IP networking protocol.

10
Packages in Java Contd.

• java.util - it contain miscellaneous classes like Vector, Stack, List, Date etc.

• java.swing – for designing GUI

• java.sql– for database connectivity.

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)

• JVM is acronym for Java Virtual Machine


• JVM (Java Virtual Machine) is an abstract machine. It is a specification that
provides runtime environment in which java bytecode can be executed.

The JVM performs following operation:


• Loads code
• Verifies code
• Executes code
• Provides runtime environment

15
Java Virtual Machine(JVM) Contd.

JVM provides definitions for the:


• Memory area
• Class file format
• Register set
• Garbage-collected heap
• Fatal error reporting etc.

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

You might also like