Explain the difference between the JDK, JRE, and JVM?

: 170
Paper : Java FAQ (Frequently Asked Questions and answers) for freshers | Platform : Object-oriented programming Language | Category : Programming FAQs

JDK JVM JRE
JDK stands for Java Development Kit. JVM stands for Java Virtual Machine. JRE stands for Java Runtime Environment.
JDK is used to compile and execute the Java package. It provides the specification for the runtime environment to run the bytecode of the java program. It provides the runtime environment to run the bytecode.
It consists of JRE+development tools. It a superset that contains specification, Implementation, and runtime instances. It is the virtual implementation of the JDK.