• Post Reply Bookmark Topic Watch Topic
  • New Topic

JVM Vs JRE  RSS feed

 
Tom Lee
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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
 
Pradeep Sivadasan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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
 
Daniel Palombo
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!