JDK vs JRE

Posted September 9, 2022 by Rohith and Anusha ‐ 1 min read

JDK stands for Java Development Kit. It is a software development environment used to develop Java applications and applets. It is a platform-specific software i.e there are separate installers for Windows, Mac, and Unix systems. JRE stands for Java Runtime Environment. It is the implementation of JVM (Java Virtual Machine) and it is specially designed to provide an environment to execute Java programs. It is also platform dependent like JDK.

Difference between JDK and JRE are stated below

KEYJDKJRE
DefinitionJDK(Java Development Kit) is used to develop Java applications. JDK also contains numerous development tools like compilers, debuggers, etc.JRE(Java Runtime Environment) is the implementation of JVM(Java Virtual Machine) and it is specially designed to execute Java programs.
FunctionalityIt is mainly used for the execution of code and its main functionality is development.It is mainly used for creating an environment for code execution.
Dependency Of PlatformIt is platform-dependent.It is also platform-dependent like JDK.
Type Of ToolsSince JDK is responsible for the development purpose, therefore it contains tools which are required for development and debugging purpose.On the other hand, JRE is not responsible for development purposes so it doesn’t contain such tools as the compiler, debugger, etc. Instead, it contains class libraries and supporting files required for the purpose of execution of the program.
Implementation Of JDK and JREJDK = JRE + other development tools.JRE = JVM + other class libraries.
quick-references blog jre jdk differences

Subscribe For More Content