Solved

JRE vs JDK

Posted on 2000-03-18
3
1,825 Views
Last Modified: 2013-11-23
What is the difference between JDK and JRE?  I am looking to install Oracle which requires JRE, but says NOT to get JDK.  However, I want JDK so that I can code java.  Can both coexist?
0
Comment
Question by:slyph
3 Comments
 
LVL 7

Expert Comment

by:Sasha_Mapa
ID: 2632238
I think JRE is a part of the JDK, at least I have JDK installed on my comp, never had JRE even downloaded, and I have it (I can double click on JAR files to run them for example)
0
 

Accepted Solution

by:
saifikhan earned 50 total points
ID: 2632244
Hi:
JDK is the Java Development Kit.
It is a fat installable that comes
with the
rt.jar
the libraries
the binaries
Demo programs
include header files(.h)
the JRE
and some docs.

JRE is the Java Runtime Environment
which contains the following:
1. binary executables
2. library which contains the required jars.
JRE is the light-weight version of the actual JDK install.

The two are downloadable from java.sun.com site separately.

In your Oracle installation you need to install a particular version of JRE, say 1.2.2 . Now if you have already installed JDK 1.2.2 (~22MB)then you can go ahead and install Oracle.
But, if you haven't installed JDK1.2.2, then the bare minimum requirement is that you install JRE 1.2.2 (~5MB)

Hope this helps.

Saifi.
0
 

Author Comment

by:slyph
ID: 2632261
Perfect, thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse formatting 6 73
starter POM and spring-boot-starter,  spring-boot-web 2 43
Java Loop 6 50
print map entry 34 56
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now