What is JRE, JDK and JVM? Explain in detail. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is JRE, JDK and JVM? Explain in detail.

7th May 2020, 6:04 PM
Suraj Mali
Suraj Mali - avatar
2 Answers
+ 5
-JDK(JAVA DEVELOPMENT KIT): Is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), a compiler (javac), an archiver (jar), a documentation generator (Javadoc), and other tools needed in Java development. -----------------------------------------------------------------------------------. -JRE(JAVA RUNTIME ENVIRONMENT): The Java Runtime Environment provides the minimum requirements for executing a Java application; it consists of the Java Virtual Machine (JVM), core classes, and supporting files. -----------------------------------------------------------------------------------. JVM(JAVA VIRTUAL MACHINE): ***A specification where the working of Java Virtual Machine is specified. But implementation provider is independent to choose the algorithm. Its implementation has been provided by Sun and other companies. ***An implementation is a computer program that meets the requirements of the JVM specification. ***Runtime Instance Whenever you write java command on the command prompt to run the java class, an instance of JVM is created. -----------------------------------------------------------------------------------.
7th May 2020, 6:17 PM
Suheib Alabed
Suheib Alabed - avatar
+ 1
In the past, it was possible to download the JRE separately, but since Java 11 SE this option is not available and the JRE as a term loses its meaning.
7th May 2020, 10:53 PM
zemiak