DEV Community

Karthick M
Karthick M

Posted on • Edited on

Day -2 how jdk jre jvm and Jit is working

JDK - Java development kit

  1. Compile and find the exact error with line no.
  2. If it’s no error then it will change .java file into .class file

JRE - Java runtime environment

  1. It helps to provide everything to run the .class files and hands it over to JVM

Command——> java

JVM - Java virtual machine

  1. Loads the .class files and allocates the memory and manage garbage collection.

JIT - Just in time

  1. It used to convert into the binary code(machine language)

Top comments (0)