Solved

JRE vs JDK

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

758 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

22 Experts available now in Live!

Get 1:1 Help Now