Java Virtual Machine (JVM) is an abstract computing machine. Java Runtime Environment (JRE) is an implementation of the JVM. Java Development Kit (JDK) contains JRE along with various development tools like Java libraries, Java source compilers, Java debuggers, bundling and deployment tools.
JVM becomes an instance of JRE at runtime of a java program. It is widely known as a runtime interpreter.
JIT is the part of the Java Virtual Machine (JVM) that is used to speed up the execution time. JIT compiles parts of the byte code that have similar functionality at the same time, and hence reduces the amount of time needed for compilation.
JVM becomes an instance of JRE at runtime of a java program. It is widely known as a runtime interpreter.
JIT is the part of the Java Virtual Machine (JVM) that is used to speed up the execution time. JIT compiles parts of the byte code that have similar functionality at the same time, and hence reduces the amount of time needed for compilation.
like it
ReplyDeletelike it
ReplyDeleteI would like to add that many a times we need JDK only with JAVA_HOME pointing to the root of JDK and at other times JRE is sufficient with JRE_HOME enviornment variable being set properly. For e.g. Eclipse shall need JDK for compiling programs where as a server like Tomcat can work with JRE. See more differences between JVM, JRE and JDK
ReplyDelete