JDK, JRE and JVM
Learn the difference between the Java Development Kit, Java Runtime Environment and Java Virtual Machine.
Java Code
Study the example and understand what each part does.
public class Main {
public static void main(String[] args) {
System.out.println("JDK = Java Development Kit");
System.out.println("JRE = Java Runtime Environment");
System.out.println("JVM = Java Virtual Machine");
}
}
Java code normally runs using the Java Development Kit on a computer, Android Studio or another Java development environment. This course page presents the code examples without pretending that the browser is running Java directly.
Expected Output / Result
JDK = Java Development Kit JRE = Java Runtime Environment JVM = Java Virtual Machine
Finished this lesson?
Mark it complete to update your course progress.