![]() |
What is difference between JVM and JRE? |
[Edit] |
JRE includes (JVM ) java virtual machine and some other library files. That runs a java application.
JVM - understand the corresponding byte code of a java class and make it ready for run.
Another Answer:
The Java Runtime Environment (JRE) is a set of library files and the java executable that is kicked off in order to run any java program.
The Java Virtual Machine (JVM) is created, like a separate program, whenever a java program is executed. The JVM essentially runs between the computer and the java program. Java is designed so that any java program can run on any machine. This is because the JVM will interpret the Operating System independent java code and execute the commands needed for the particular Operating System you are trying to run the program on at the time.
Java Program --- Execute some command ---> JVM --- Translate the command for this computer ---> Computer
First answer by ID3394559909. Last edit by Droozenrule. Contributor trust: 1 [recommend contributor]. Question popularity: 208 [recommend question]





