I am so much confused betweenm JVM and JRE .plz expalain the difference. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I am so much confused betweenm JVM and JRE .plz expalain the difference.

5th Dec 2016, 2:46 PM
Awais Butt
Awais Butt - avatar
2 Answers
+ 4
The Java Virtual machine (JVM) is the virtual machine that run the Java bytecodes. The JVM doesn't understand Java source code, that's why you compile your *.java files to obtain *.class files that contain the bytecodes understandable by the The JVM. The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language as we can see with our eye.
6th Dec 2016, 12:10 AM
Dheeraj Vuppuluri
Dheeraj Vuppuluri - avatar
0
JVM is an abstract which provides the runtime environment for the java byte code to run JRE is the implementation of JVM
18th Jan 2017, 10:46 AM
Keerthi Reddy Yeruva
Keerthi Reddy Yeruva - avatar