Compare JDK vs JVM VS JRE.?

1. JVM

a. Virtual machine that run the Java bytecode.
b. Makes java portable.

2. JRE (to Run Java Program, Java, Javaw,Libraries,rt.jar)

a. JVM + Libraries + Other Components (to run applets and other java applications)

3. JDK (to Develop Java Program, Javac, jar,debuging tool,javap)

a. JRE + Compilers + Debuggers