What is the difference between jvm and jre? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between jvm and jre?

can anyone explain the difference between the two things and their operations

14th Nov 2016, 2:47 AM
venkatesh srinivasan
venkatesh srinivasan - avatar
2 Answers
+ 4
jvm is the set of instructions which understands processes and executes the machine code. jre is installed on os it is the whole set of programs needed while running a Java program including that jvm
14th Nov 2016, 6:09 AM
Sandeep Chatterjee
+ 3
JVM is used by java to compile the java program whereas JRE is runtime environment used to run java program.
14th Nov 2016, 3:43 AM
Vaibhav Kumar Mishra
Vaibhav Kumar Mishra - avatar