JDK and JIT?

Java 10 - JVM, JRE, JDK and JIT Compiler

What Is JVM?
JVM stands for “Java Virtual Machine” and it is platform dependent and heart of java programming language.

Java Virtual Machine (JVM) provides run-time environment and also responsible for converting byte code into machine readable code.

Java Virtual Machine (JVM) performs following main tasks -
1.      Loads code
2.      Verifies code
3.      Executes code
4.      Provides runtime environment
Two Types of JVMs is - Java HotSpot Client VM and Java Hotspot Server VM.


What Is JDK?
JDK stands for “Java Development Kit” and it is used to build and develop the java programs.

Java Development Kit (JDK) internally contains JRE, compiler, debugger and all set of library and files to build the java programs.

Without JDK, we can’t build and compile any java programs.

Java Development Kit (JDK) provides all the tools, executable files and binaries required to compile, debug and execute a Java Program. The execution part is handled by JVM to provide machine independence.

What Is JRE?
JRE stands for “Java Runtime Environment” and it is responsible for run the Java program.

Java Runtime Environment (JRE) internally contains JVM and all set of inbuilt packages and library. JRE refers to a runtime environment in which java bytecode can be executed.

Java Runtime Environment (JRE) doesn’t contain any development tools like java compiler, debugger etc. You must install JRE on your machine before execute any java program.

What Is JIT?
JIT stands for “Just In Time compiler “and it used for increased the speed of execution and JIT also helps the JVM to find the active OS.

Java was interpreted programming languages, but after JIT it was called interpreted-complied programming languages.

I hope you are enjoying with this post! Please share with you friends! Thank you!!
ANIL SINGH

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..
My Blogs - https://code-sample.com and https://code-sample.xyz
My Book1 - BEST SELLING ANGULAR BOOK (INCLUDING ALL VERSIONS 2, 4, 5, 6, 7)
My Book2 - ANGULAR 2 INTERVIEW QUESTIONS BOOK - Both Books are Available on WorldWide.

www.code-sample.com/. Powered by Blogger.
^