Friday, September 11, 2020

what is jdk, jre and jvm

                                  what is jdk, jre and jvm?




JDK -JAVA Development Kit:

1. It provides environment to develop and run java application(conatins JRE+ Development tools(javac, java))

2.It exists physically .

3. JDK Mostly Used By Java Developers.

JRE-Javaruntime environment:

1. It provides only runtime environment(JVM+Set of libary classes+otherfiles)

2.physically exists.

3.It is the implementation of JVM.

4.It is used by only Clients.


JVM-Java Virtual Machine:

1.It responsible to run java program line by line(Interpreter).Java bytecode can be executed. 

2.It is an abstract machine. physically not exists.

3.JVM acts like a run-time engine which calls the main method present in the Java code

For Detailed explanation watch this video.





5 comments: