0% completed
In this lesson, we will learn about three core components that are essential for working with Java:
These components each play a unique role in creating and running Java applications.
The JVM is the part of Java that runs your compiled code. It reads the bytecode (the code Java compiles into) and translates it into instructions that your computer can understand. Here are the main points about the JVM:
The JRE is a package that provides the necessary tools to run Java applications. It includes the JVM along with a set of libraries and other components:
The JDK is intended for developers. It includes everything in the JRE plus the tools required to write and compile Java programs:
javac
): The JDK contains a compiler that turns human-readable Java code into bytecode.With a clear understanding of these components, you now know the roles of the JVM, JRE, and JDK in Java development and execution. This knowledge is crucial as you continue learning and working with Java applications.
.....
.....
.....