bscodinglab

JDK JRE JVM

JDK, JRE, and JVM are three important concepts in Java programming.

JDK :-  stands for Java Development Kit. It is a software development kit that contains everything you need to develop Java applications, including the Java compiler, the Java runtime environment, and a variety of development tools.
JRE :- stands for Java Runtime Environment. It is a software environment that allows you to run Java applications. It includes the Java Virtual Machine (JVM), the Java class libraries, and other supporting files.
JVM :- stands for Java Virtual Machine. It is an abstract machine that executes Java bytecode. The JVM is responsible for translating Java bytecode into machine code that can be executed by the underlying operating system.

Feature JDK JRE JVM
Contains
Java Compiler, Java Runtime Environment, Development Tools
Java runtime environment, Java class libraries, supporting files
Java bytecode interpreter
Purpose
Development of Java applications
Running Java applications
Execution of Java bytecode

Note :- If you are developing Java applications, you will need to install the JDK. If you only want to run Java applications, you can install the JRE.