• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference

 
chander shivdasani
Ranch Hand
Posts: 206
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between JRE, JDK, J2SDK ??
 
ram kumar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15356
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic