This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Difference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

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://aspose.com/file-tools
 
subject: Difference