• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Difference

 
Ranch Hand
Posts: 206
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the difference between JRE, JDK, J2SDK ??
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic