• 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 JVM and JRE

 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends ,
Can anyone site me the exact differences between a JVM and JRE ??
Hoping to get good response form JGURUS
Thanks in advance,
Saurabh
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The JVM (Java Virtual Machine) describes the actual 'application' whose job it is to translate Java Bytecode (what your class files compile into) into native machine code for whatever system it is running on. The JRE (Java Runtime Environment) describes not only the JVM itself, but also any plugins, additional APIs, etc.At least, this very simple answer is what I go by.
 
Greenhorn
Posts: 11
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java Virtual Machine(JVM) is program that executes the bytecode generated as a result of compilation whereas Java Runtime Environment(JRE) provides an environment in which Java applications are compiled & executed that is JRE incorporates JVM within itself.To execute any Java Program or Application you must have JRE which is installed when you install jdk
 
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic