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

 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
I would like to know what is the difference between a JVM and JRE. I reckon JRE is 1 component of the JVM (correct me if i am wrong).
Could someone ellaborate

Rgrds
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't have "official" definitions, but here's a go ... see if it makes sense. The JVM is the Virtual Machine. Its whole job is to read byte code and interpret it. On Windows its in java.exe and javaw.exe. The JRE is the Runtime Environment. It includes the JVM plus supporting libraries. Java stuff is in jars, Windows stuff in dlls, other config files, Windows-specific files, etc. The JRE is everything you - or your customers - need to execute Java programs.
 
reply
    Bookmark Topic Watch Topic
  • New Topic