Java JRE and JVM | Difference between JVM and JRE
In this topic, we will give you complete information of JRE and JVM.
JVM(Java Virtual Machine)
JVM (Java Virtual Machine) is an abstract machine that enables your computer to run Java programs. and Which provides a runtime environment.
When you compile a java program, it is converted into byte code. This byte code cannot run on any machine or operating system. It only runs on JVM (Java Virtual Machine).
The Java Compiler that Byte Code generates is for JVM because of the JVM being in the entire system, this program runs in every computer, making the Virtual Machine Code running in the Operating System.
JRE(Java Runtime Environment)
The full name of JRE is Java runtime environment. JRE is also called java runtime. JRE is a part of JDK (java development kit). JRE is a group of software tools to develop Java applications.
The JRE class contains groups of libraries and other files, which JVM uses in runtime and it also contains JVM.
If you want to run a Java program in the system then you have to install JRE.


Comments
Post a Comment
If you have any doubts, Please let me know