Difference between JVM, JDK, JRE
Learn Difference between JVM, JDK, JRE (Java Basics, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
1. Introduction The JVM (Java Virtual Machine) loads, verifies and executes bytecode . The JRE (Java Runtime Environment) is the JVM plus the core class libraries needed to run a program, and the JDK (Java Development Kit) is the JRE plus development tools such as javac, javadoc, jar and jdb. In short, JDK contains JRE and JRE contains JVM The JVM itself is a specification with implementations such as HotSpot , OpenJ 9 and GraalVM .
More lessons in Java Basics
- Introduction to Java
- Getting Started with Java (Installation & Setup)
- Features of Java
- Data Types and Variables
- Access Specifiers
- Operators in Java
- Control Statements in Java
- Jumping Statements in Java
- Looping Statements
- Packages
- Array in Java
- Array Program
- String in Java
- Constructor in Java
- Constructor Chaining
- Static Keyword
- Input and Output Stream in Java
- Scanner in Java
- Serialization in Java
- Properties File in Java
- Final Keyword
- Wrapper Class
- Methods in Java
- Return Object from Method
- Different way to return to the method in java.
- This and Super Keywords