• 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 between jdk , jre and jvm

 
Greenhorn
Posts: 16
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can anyone please tell me what is the difference between jdk jre and jvm , i ve read about these terms but they are sort of confusing and not eloquent..
thanks..
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JDK - Java Development Kit. It include the JRE and JVM, and other things (like the javac compiler).

JRE - Java Runtime Environment. Everything you need to run a java program. This include the JVM and various class files (and more, methinks).

JVM - Java Virtual Machine. The java program that runs, reads the .class files, and executes your program. It talks to the OS.

Did you have more specific questions?

also note: at the bottom of this thread, you should see some links to "similar threads". You may find reading some of those helpful.
 
Shreyas Dange
Greenhorn
Posts: 16
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well thanku fred , but i wud like to know whether jvm really i mean physically exits on our system as i ve read its a specification...
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was going to point you to #18 in the https://coderanch.com/how-to/java/JavaBeginnersFaq, but Fred beat me to it :-)

A JVM is an implementation of the JVM specification.
 
Marshal
Posts: 79180
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The diagram you find linked to from that FAQ 18 shows that the JVM is part of the JRE and the JRE is part of the JDK. If you are on this forum, you will almost certainly need a JDK (=Java Development Kit).
 
Shreyas Dange
Greenhorn
Posts: 16
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanku ulf .. its really good resource and it will definitely..
reply
    Bookmark Topic Watch Topic
  • New Topic