Solved

JRE vs JDK

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

756 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