Wednesday, 11 July 2018

Introduction of JDK, JRE and JVM

Morning Everybody

 
In this article today we are going to learn " Introduction of JDK, JRE and JVM ". So let`s get started.




1) JDK:


                                               
JDK stands for “Java Development Kit “. It is used to create and run java application. It contains JRE, interpreter, compiler (javac), Java Archiver (JAR), document generator (javadoc) and some other tools for application development.


To running java applications simply download JRE only. But if we want create and run java application we need to download and install JDK.
     

2) JRE:

 

JRE stands for “Java Runtime Environment “. It is part of the JDK but it also download seperatly.It is a set of software tools to run the java application.
           
It contains JVM (Java Virtual Machine), platform core classes, AWT, Swing, JNDI, JDBC, RMI and other supporting libraries.
            

2) JVM:

       
JVM stands for “Java Virtual Machine “.It is part of the JRE. It is an abstraction layer between Java application and underlying platform (OS).In other word JVM is used to execute the java application.
 


This below figure is shown the brief internal structure of JDK:

jvm , jre , jdk
Internal structure of JDK

 In above figure JDK contains  JRE  and  Development Tools.



1) JRE:

 

JRE is used to run the java applications.It contain two sub components JVM and other files file. JVM is used to interpret the byte code. During interpretation JVM require some other file for executing a byte code.


2) Tools or Development tools:

 

Development tools is use to developing java application. 


Thank you. Have a nice day.


" Be Student , Be Curious "


For more detail watch this video :








No comments:

Post a Comment