The moose likes Beginning Java and the fly likes Terms: JDK - JVM - JRE ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Terms: JDK - JVM - JRE ??" Watch "Terms: JDK - JVM - JRE ??" New topic

Terms: JDK - JVM - JRE ??

Ja vardhan
Ranch Hand

Joined: May 09, 2005
Posts: 169
Hi Folks,

Pls tell me the exact functionalities of the JDK,JVM and JRE.

Whats the relationship between them?


Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
What is your current understanding?

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ja vardhan
Ranch Hand

Joined: May 09, 2005
Posts: 169
Actually I dont know any thing about these terms. I am just simply wrting and compiling java files but didnt understand the internal roles of these things.

Pls tell me clearly.

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

A JVM (Java Virtual Machine) is a simulated computer on which Java bytecode runs. A Java Runtime Environment (JRE) is a JVM plus all the standard Java libraries. A Java Development Kit (JDK) is a JRE plus developer tools like javac, jar, javah, javap, etc.

I'm moving this to Java in General (Beginner.)

[Jess in Action][AskingGoodQuestions]
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577


You told me that JRE is JVM + some java libraries. Can you tell me what are those libraries?


(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Hentay Duke
Ranch Hand

Joined: Oct 27, 2004
Posts: 198
Ernest didn't say "some", he specifically said "Java Runtime Environment (JRE) is a JVM plus "all the standard Java libraries".

Look up the API and you'll find the standard libraries.
[ June 06, 2005: Message edited by: Hentay Duke ]
Matt Fielder
Ranch Hand

Joined: Oct 27, 2004
Posts: 158
or go to the sun site.
There's complete explanations of what these are and is where I learned about them.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
This question has been asked here before. For future reference, you might find our Search Tool very handy. For this particular question I found the following threads that already discuss the answers you are looking for:

I hope this helps.



Java API Documentation
The Java Tutorial
I agree. Here's the link:
subject: Terms: JDK - JVM - JRE ??
It's not a secret anymore!