Solved

JRE vs JDK

Posted on 2000-03-18
3
1,832 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

739 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