
JRE and JDK
JRE and JDK are two essential terms in Java that every Java beginner should understand. Let’s delve into the differences between these two terms.
JRE
JRE stands for “Java Runtime Environment”.
The JRE includes Java Virtual Machine (JVM), core libraries, and other components which are necessary to run Java applets and Java applications.
Additionally, the JRE can be installed as a browser plugin in order to run the Java applets within web browsers such as Internet Explorer, Google Chrome, or Mozilla Firefox.
JDK
JDK stands for “Java Development Kit”.
The JDK encompasses everything within the JRE and provides additional tools for Java development.
Developers utilize the JDK’s command-line tools, such as the Java source compiler javac
and the Java debugger jdb
, to create and debug Java applets and applications.