Tuesday, November 10, 2015

Difference between JDK, JRE, JVM and JIT in JAVA

In this page we will understand and learn about JDK,JRE,JVM and JIT in java programming Language and also learn difference between them. As a java beginner get confused about these terminologies, you need not worry this is the place you can remove your confusion about this topic here. 


     
JDK :  

JDK stands for Java Development Kit.It is a software component  that is used to develop java based applications.JDK includes the  JRE ,set of API classes, java compiler ,webstart and additional files needed to  write java applets and applications.It contains JRE + development tools
                 

JRE:          


  •  It stand for Java Runtime Environment
  • JRE is implementation of the JVM which actually exectues Java Programs.
  •  It includes the JVM, core libraries and other additional components to run applications and applets written in java.



               
                             
                                       

Difference between JDK and JRE:




JVM :
  • Java Virtual Machine is a program that runs pre compiled Java programs, which     mean JVM executes .class files (byte-code) and produces output.
  • The JVM is written for each platform supported by Java included in the Java Runtime Environment(JRE)                  

JIT :                     
  • It stands for Just-In -Time compiler
  • It is a component of JRE
  • It improves the performance of Java applications by compiling bytecodes to native machine code at run time.
  • At run time, the JVM loads the class files, determines the semantics of each individual bytecode, and performs the appropriate computation
  • In this process, the JIT compiler helps improve the performance of Java programs by   compiling bytecodes into native machine code at run time.
  • The JIT compiler compiles the bytecodes of that method into native machine code,compiling it "Just In Time" to run
 I hope you enjoy this post and share this to your friends and social websites,also write comments on this topic. keep follow me for latest upadates
 

1 comment:

High Paying Jobs after Learning Python

Everyone knows Python is one of the most demand Programming Language. It is a computer programming language to build web applications and sc...