JVM (Java Virtual Machine)


JVM (Java Virtual Machine) has nothing to do with writing the Java codes, then why we should know about the JVM? The answer is that JVM is what makes Java a platform independent language. The Java code you write gets convert into Bytecode (.class file) after compilation, which JVM executes.

One of the simple definitions of JVM is that it is an abstract computing machine that lets the computer to run the Java programs that are in the form of Bytecodes.

JVM is platform independent, it comes within the JRE (Java Runtime Environment), and JRE is a subset of JDK. This means when you install either JDK or JRE in your system, JVM also gets install.

This section ends here (will update it, if find anything interesting) as there are already many useful, quality and detailed content available on the internet. You can also check out this section about JVM.