• 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

JVM Vs JRE

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am new to java technology, can anyone explain me the difference between JVM and JRE. Any help would be appreciated.

Thanx in advance,
Tom
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
JRE contains all the executables and files which are needed for the java to run..JVM is the virtual machine which actully executes the compiled java file which is in the bytecode format and that is why java is platform independent. JVM is inside the JRE.
regards,
Pradeep
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Tom Lee,
I'm not sitting tight in the saddle but I think this shouldn't be wrong:
The JVM (Java Virtuel Machine) is part of the JRE (Java Runtime Environment) (and so also of the JDK - Java Development Kit).
The JVM is the 'processor' which processes your program instructions (your compiled bytecode). The JRE offers all classes (like 'String' for example) needed to enable the JVM to run your program.

@all: Please correct, if I'am wrong
 
Something about .... going for a swim. With this tiny ad ...
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic