jvm

Basic Explanation For JVM (Java Virtual Machine) Architecture With Diagram

Java Virtual Machine (JVM) is responsible for executing the java program line by line hence it is also known as interpreter. The JVM is responsible for interpreting Java bytecode (.class file) and translating this into actions (into machine readable form) or operating system calls. Every Java developer knows that bytecode will be executed by JRE, …

Basic Explanation For JVM (Java Virtual Machine) Architecture With Diagram Read More »

How does JRE works? What is the execution flow of java program?

Java runtime Environment (JRE) is part of JDK. It consists of the Java Virtual Machine (JVM), core classes, and supporting libraries. Consider a source Sample.java, Compiler converts it into byte code as Sample.class. At run time, Sample.class file loaded into Class loader and Byte code verification will be done in class loader subsystem. Verified byte code …

How does JRE works? What is the execution flow of java program? Read More »

Basic Definition Of JDK, JRE and JVM For Beginners With Diagram

1. What is JDK? Java Development Kit (in short JDK) is Kit which provides the environment to develop and execute (run) the Java program. JDK is a kit (or package) which includes two things. Development Tools (to provide an environment to develop your java programs) JRE (to execute your java program). JDK = JRE + Development Tools Note: JDK …

Basic Definition Of JDK, JRE and JVM For Beginners With Diagram Read More »