- 2
jvm&jre
can anyone tell me what is the different between JVM &JRE
3 Respostas
+ 8
JVM refers to the virtual machine which translates your Java code to be understood by your device.
JRE refers to the runtime environment in which Java programs are executed.
I don't even know what I'm saying, but it makes great sense.
+ 2
JDK = JRE + Java compiler
JRE = JVM + Java Libraries
JVM = Java Interpreter + Excuter + Other components
+ 1
When you write an example.java program, the javac compiler translates it into example.class.Now to run it we type[ java example].After this what happens in background is JRE helps to create( example.class+ other java's own classes needed to execute the program) which is then injected to JVM which ultimately runs the program.