Know some unknown facts about JDK.

Know some unknown facts about JDK.

Shelf Introduction

First of all, let me introduce myself, I'm Yutsav Hari Bhagat I am currently pursuing B.Tech in Computer Science and Engineering, this is my first blog :)

Come back to Topic

Before talking about JDK I want to talk about java software which is comprised of two parts just the same as the Developer and customer/client means we developers have to develop compile and execute the code but the customer/client only has to execute the code. In the same way, java software is comprised of two parts i.e. JDK (Java Development Kit) and JRE(Java runtime environment).

What is JDK?

JDK is known as a java development kit (same as we developers) in JDK we have a compiler for the compilation of the code and JRE(java runtime environment) for the execution of the code. Inside JRE we have JVM (Java virtual machine) which has two parts a) Interpreter + JIT(Just in Time)

b) API (Application Programming Interface)

What is JRE?

JRE is known as a java run-time environment which helps in the execution of the code it has the same two parts that we discussed above. i.e. a) Interpreter + JIT(Just in Time) b) API (Application Programming Interface).

The JRE which is inside JDK is known as private JRE and the JRE which is outside JDK is called public JRE.

so in the next blog, we will go deeper to know how compiler JVM & API works in java.