You are on page 1of 16

English for Computer Sciences – Cycle2 Reading Competence

DIFFERENCES BETWEEN JDK, JRE AND JVM


Weeks 3 & 4 – Session1- 4 Time: 8 hours
Full name: _________________________ Date__________ Group:_____

AIMS: Reading Skills: Identifying vocabulary; Fluency; Comprehension


Pre-Reading Stage

1. Vocabulary To learn new vocabulary related to the field of study.


to identify technical vocabulary presented in A1-A2 level passages.
2. Prior Knowledge Predicting and previewing the content of the text.

While – Reading Stage

Skimming To get the general idea of the content of the text.


Detailed information To extract detailed information
Specific information To extract specific bits of information
Text structure To analyze the way the ideas are related to each other

Post –Reading Stage

 To express some ideas orally about the text already read


 To practice graphic organizers by filling in a chart
 Creating a game based on important concepts about the text just read

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence

Pre-Reading Stage
A. Let’s preview some important concepts and words.

WRITE YOUR DEDUCTION HERE:

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence

Type the five (5) words here:

Can you give some


examples
of common
file extensions
or suffixes
used? Type them here:

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence
https://quizlet.com/694118251/launching-and-developing-Java-set-
flash-cards/?x=1jqt
Take a screenshot of the previous activity and paste it here:

While- Reading Stage

A. Reading for specific information


Let´s read about the differences between JDK, JRE AND JVM
 Difficulty Level : Easy
 Last Updated : 03 Jun, 2022

Listen to the text by using the following link https://www.naturalreaders.com/online/


Java Development Kit (JDK) is a software development environment used
for developing Java applications and applets. It includes the Java Runtime
Environment (JRE), an interpreter/loader (Java), a compiler (Javac), an
archiver (jar), a documentation generator (Javadoc), and other tools needed in
Java development. 
Now we need an environment to make a run of our program.
Henceforth, JRE stands for “Java Runtime Environment” and may also be
written as “Java RTE.” The Java Runtime Environment provides the
Professor: María de Jesús Suárez Vera msuarez@unab.edu.co
English for Computer Sciences – Cycle2 Reading Competence
minimum requirements for executing a Java application; it consists of
the Java Virtual Machine (JVM), core classes, and supporting files. 

1. Can you answer the following


questions?
a. What do we use JDK for?

b. Is JDK contained in JRE?

c. Mention some components that form the


JRE

d. What JRE stands for?

2. Read again and Choose True or False. Write T or F


Statement T F
1. Java Development Kit (JDK) is an applet.
2. Java Development Kit (JDK)is used for developing Java
applications and applets.
3. Java Development Kit (JDK) includes the Java Runtime
Environment (JRE), an interpreter/loader (Java), and a compiler
(Javac).
4. You can execute a Java application without The Java Runtime
Environment.
5. The Java Runtime Environment consists of the Java Virtual
Machine (JVM), core classes, and supporting files. 

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence
B. Reading for detail - Creating a Concept map

Let’s read…

Now let us discuss JVM, which stands out for Java Virtual Machine. It is as
follows:
 A specification where the working of Java Virtual Machine is
specified. But implementation provider is independent to choose the
algorithm. Its implementation has been provided by Sun and other
companies.
 An implementation is a computer program that meets the
requirements of the JVM specification.
 Runtime Instance Whenever you write a Java command on the
command prompt to run the Java class, an instance of JVM is
created.
3. Imagine you are a designer for a computer company. Create a graphic
design that explains the previous paragraph:

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence
You can use the following link or other you prefer to create the concept
map:
https://www.canva.com/design/play?locale=es-
ES&layoutQuery=concept+map&analyticsCorrelationId=3a2377d5-ae7e-
4615-ab4b-f0b2826a830f#
4. Present your concept map
5. Take a screenshot of the concept map and paste it here :

Post-reading – Checking understanding


Acronyms
An Acronym is an abbreviation formed from the initial letters of other words and
pronounced as a word (e.g. ASCII, NASA ).

6. Ready to see if you are familiar with them? Do the following activity

https://es.educaplay.com/recursos-educativos/12675839-
crosswor_puzzle_jdk_jre_and.html

7. Take a screenshot of the previous activity and paste it here:


SESSION-2

Pre-Reading Stage

A. Reading for scanning the text


1. Let’s preview some important concepts and words. Scan the text and do the
following activity:
https://es.educaplay.com/juego/12675839-crosswor_puzzle_jdk_jre_and.html
2. Take a screenshot of the previous activity and paste it here:

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence

While Reading Stage


Differences between JDK, JRE, and JVM
Listen to the text by using the following link https://www.naturalreaders.com/online/

B. Reading for Specific Information


Before proceeding to the differences between JDK, JRE, and JVM, let us discuss
them in brief first and interrelate them with the image below being proposed.

What can you


say about this
image?

Don’t get confused as we are going to discuss all of them one by one.
1. JDK (Java Development Kit) is a Kit that provides the environment to develop
and execute (run) the Java program. JDK is a kit (or package) that includes two
things:
 Development Tools (to provide an environment to develop your Java
programs)
 JRE (to execute your Java program).

2. JRE (Java Runtime Environment) is an installation package that provides an


environment to only run (not develop) the Java program (or application) onto the
machine. JRE is only used by those who only want to run Java programs that are
end-users of your system.

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence
3. JVM (Java Virtual Machine)  is a very important part of both JDK and JRE
because it is contained or inbuilt in both. Whatever Java program you run using JRE
or JDK goes into JVM and JVM is responsible for executing the Java program line by
line, hence it is also known as an interpreter.

3. Read the previous text and answer true or false:


1. Is JDK contained in in JVM? a. True b. False
2. Is JRE an interpreter? a. True b. False
3. JRE develops the Java program a. True b. False
4. JDK is a kit that allows to execute the Java program a. True b. False
5. You don’t need any interpreter to execute Java Program a. True b. False

B. Reading for detail


4.Now let’s read about the components of JRE to understand its importance and
perceive how it works.

1. Deployment technologies, including deployment, Java Web Start, and


Java Plug-in.
2. User interface toolkits, including Abstract Window Toolkit (AWT), Swing,
Java 2D, Accessibility, Image I/O, Print Service, Sound, drag and drop
(DnD), and input methods.
3. Integration libraries, including Interface Definition Language (IDL), Java
Database Connectivity (JDBC), Java Naming and Directory Interface
(JNDI), Remote Method Invocation (RMI), Remote Method Invocation Over
Internet Inter-Orb Protocol (RMI-IIOP), and scripting.
4. Other base libraries, including international support, input/output (I/O),
extension mechanism, Beans, Java Management Extensions (JMX), Java
Native Interface (JNI), Math, Networking, Override Mechanism, Security,
Serialization, and Java for XML Processing (XML JAXP).
5. Lang and util base libraries, including lang and util, management,
versioning, zip, instrument, reflection, Collections, Concurrency Utilities,
Java Archive (JAR), Logging, Preferences API, Ref Objects, and Regular
Expressions.
6. Java Virtual Machine (JVM), including Java HotSpot Client and Server
Virtual Machines.

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence
4. Read the previous text again and fill in the chart accordingly. Drag the
corresponding words

COMPONENTS OF JRE (Java Runtime Environment)

5. Read about the about the six components of JRE again and place the information
in the corresponding component. DRAG Y DROP the words.
Print Service, Java Web

Integration libraries User interface toolkits Start, Interface Definition


(Bibliotecas de
integración) Language, drag and drop,
(Juegos de
herramientas de Java Archive, Directory
interfaz de usuario)
Interface, Java HotSpot

Client and Server Virtual

Machines, Java Management


(Deployment
Java Virtual Machine Extensions, Networking,
Technologies
(JVM), (Máquina Virtual
(Tecnologías de
de Java) Collections, Remote Method
implementación)
Invocation, Java Plug-in,

Regular Expressions, Java

Management Extensions,
Professor: María de Jesús Suárez Vera msuarez@unab.edu.co
scripting
English for Computer Sciences – Cycle2 Reading Competence

Other base libraries Lang and util base


(Otras libraries (Bibliotecas
bibliotecas base) base Lang y util)

After having an adequate understanding of the components, now let us discuss the
working of JRE. To understand how JRE works, let us consider an illustration below
as follows:
Illustration:

Consider a Java source file saved as ‘Example.java’. The file is


compiled into a set of Byte Code that is stored in a “.class” file.
Here it will be “Example.class“. 

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence

C. Reading for the detail


How does JVM work out?

JVM becomes an instance of JRE at the runtime of a Java program. It is widely


known as a runtime interpreter. JVM largely helps in the abstraction of inner
implementation from the programmers who make use of libraries for their programs
from JDK. 
It is mainly responsible for three activities. 
 Loading
 Linking
 Initialization

Similarly, now let us discuss the working of JRE which is as follows:


 JVM(Java Virtual Machine) acts as a run-time engine to run Java
applications. JVM is the one that actually calls the main method present in
a java code. JVM is a part of JRE (Java Runtime Environment).
 Java applications are called WORA (Write Once Run Anywhere). This
means a programmer can develop Java code on one system and can
expect it to run on any other Java-enabled system without any adjustments.
This is all possible because of JVM.
 When we compile a Java file, -class file- (contains byte-codes) with the
same class names present in Java files are generated by the Java compiler.
This class file goes into various steps when we run it. These steps together
describe the whole JVM.

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence

7. Read the previous text again. Complete the missing information with the
words given. DRAG AND DROP.

A. JRE is widely known as a runtime Interpreter

B. Programmers who make use of libraries for their programs from JDK.

C. JVM is mainly responsible for three activities: loading, linking and initialization

D. . JVM is a part of… JRE

E. Java applications are called… WORA

F. Java files are generated by… the Java compiler

G. These steps together describe the whole… JVM

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence

8. Let’s see how well you can understand the text by doing the following
activity:
https://www.liveworksheets.com/sq3033280mk
9. Take a screenshot of the previous activity and paste it here:

Post-Reading Stage
2. Let’s see how much you can remember about what you just read. Do the
following activity:
https://quizizz.com/admin/quiz/626a0fcca27199001d987e95

10. Take a screenshot of the previous activity and paste it here:

Session No 3

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence
Creating a game based on important concepts about the text
just read

1. Work with a partner. Use Kahoot or any other interactive tool and create a
questionnaire with at least 10 questions about the whole text
(Differences between JDK, JRE and JVM). You can see the following
tutorial: https://www.youtube.com/watch?v=fmsIEJwoOCc
2. Time to do the activity: 1 hour 30 minutes. Be sure to send the draft of the
questionnaire to you professor, so she can check the questions and the
answers before creating the activity on Kahoot.
3. Each group should present the game and the other students should
participate.
4. Paste the link of your Kahoot here:

UPLOAD THE WOKSHOP TO GOOGLE DRIVE BY USING THE


FOLLOWING LINK:

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co


English for Computer Sciences – Cycle2 Reading Competence

Reading taken from:


https://www.geeksforgeeks.org/differences-jdk-jre-jvm/

Professor: María de Jesús Suárez Vera msuarez@unab.edu.co

You might also like