Difference introduction:
JRE: (Java Runtime Environment), java runtime environment. Including Java Virtual Machine (JVM Java Virtual Machine) and the core class libraries required by Java programs, etc. If you want to run a developed Java program, you only need to install JRE on your computer.
(Video tutorial recommendation: java video)
JDK: (Java Development Kit Java) development tool kit. JDK is provided for Java developers to use, which includes Java development tools, including JRE. So after installing the JDK, there is no need to install the JRE separately.
The development tools include: compilation tool (javac.exe), packaging tool (jar.exe), etc.
Recommended tutorial: Getting started with java development
The above is the detailed content of What is the difference between jre and jdk in java. For more information, please follow other related articles on the PHP Chinese website!