This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Difference Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Difference" Watch "Difference" New topic
Author

Difference

chander shivdasani
Ranch Hand

Joined: Oct 09, 2007
Posts: 206

What is the difference between JRE, JDK, J2SDK ??


Enjoy, Chander
SCJP 5, Oracle Certified PL/SQL Developer
ram kumar
Ranch Hand

Joined: May 22, 2008
Posts: 146
Originally posted by chander shivdasani:
What is the difference between JRE, JDK, J2SDK ??


J2SDK AND JDK ARE SIMILAR !

JRE is the Runtime Environment of java. (the JVM Exactly).

Simply ! j2sdk/jdk is the compiler that looks for correctness of code and syntax of the java language construct !

While JRE is the Java Virtual machine, that actually runs the code !


Discussion - the powerfull way to excellence!
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12911
    
    3

First, the meanings of the abbreviations:

JVM = Java Virtual Machine
JRE = Java Runtime Environment
JDK = Java Development Kit
J2SDK = Java 2 Software Development Kit

The JVM is the engine that executes Java byte code. Note that the JRE is not exactly the same as the JVM, despite what ram kumar says. The JRE is the JVM plus supporting libraries etc. that are necessary to run Java programs. You could see the JVM as the engine, and the JRE as the complete car (including the engine) that you need to get anywhere.

The JDK is a set of tools that you need when you want to develop your own Java programs.

Normal users (non-programmers) need the JRE to be able to run Java programs on their computers.

Programmers need the JDK to be able to compile their own Java programs.

"J2SDK" is another name for JDK.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Difference
 
Similar Threads
Clarification
interview question
WA #1.....word association
Why anonymous posts are allowed in this forum ?
Array Initilaize