Solved

JRE vs JDK

Posted on 2000-03-18
3
1,827 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JList custom Cell Renderer refresh 15 57
simple java question 3 56
eclipse argument 14 60
Way to decrease size of apk file 9 67
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

770 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