Difference between JRE, JDK, and JVM

India
Consider this image

JVM
JVM stands for Java Virtual Machine.
It is an abstract machine that provides the runtime environment in which Java bytecode can be executed.
It can also run those programs which are written in other languages and compiled to Java bytecode.
JRE
JRE stands for Java Runtime Environment.
It is the implementation of JVM. It is a set of software tools that are used for developing Java applications. It contains a set of libraries + other files that JVM uses at runtime.
JDK
JDK stands for Java Development Kit.
It is a software development environment that is used to develop Java applications and applets. It contains JRE + development tools.
The JDK contains a private Java Virtual Machine (JVM) and a few other resources such as an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc), etc. to complete the development of a Java Application.
Conclusion This is the end of the blog. Make sure to give a follow if you liked this. Thanks💛




