JAVA: Difference between JDK, JVM and JRE

What is difference between JDK, JRE and JVM?

JDK --> Java Development Kit 
JRE --> Java Runtime Environment
JVM--> Java Virtual Machine

To develop and run the Java software JDK is used by developer whereas to only run java software at client side JRE is required

It means you as a developer should install JDK in your system in order to develop and run for testing the Java application whereas if your client as a end user wants to only run java application then client must install JRE in their system.

JVM is an Interpreter which makes Java platform independent.
JVM actually convert bytecode into machine code.

JDK consist consist of JRE and development tools while JRE consist of JVM and Libraries

JDK = JRE + JVM 

Comments

Popular posts from this blog

Generate-a-compressed-approximation-of-an-image-using-matrix-decomposition-from-linear-algebra

JAVA: final, finally, finalize

Django: Task manager app