Preface 1, the JDK includes the Jre2, the JRE includes the JVM
3, the JDK also includes a variety of tools 1) such as compiler javac.exe, actuator Java.exe, packaging tools Jar.exe and so on 2) these tools in the JDK installation directory/bin directory
4. The JRE also includes various tools 1) ibid. 2) in the JDK installation directory/jre/lib/tools.jar, contains the source code of various tools
A picture wins thousands of words
(Note: 1, JRE includes various API2, JRE also includes JVM)
Various tools and common Java Program 1, the aforementioned tools are written in the Java language, so they are Java programs (note: Although the program name suffix is. exe, but they are written in the Java language Java code);
2. Because the JRE includes various APIs and JVMs (that is, jvm.dll) and must have JDK installed (JDK installed and JRE installed) to run these programs
Refer to "Java Deep Adventures"
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
JDK, JRE, and JVM