JDK(Java Development Kit) contains all the required tools and libraries to develop and run Java applications, including JRE.
JRE Java run time environment is a piece of software which contains JVM and other libraries required to execute Java programs.
![What is the difference between JRE and JDK?](https://www.wsxdn.com/UploadFiles/202204/2022040221491955.jpg)