Difference:
(Recommended tutorial: java introductory tutorial)
JDK: short for Java Development Kit, java development The toolkit provides a Java development environment and running environment.
JRE: The abbreviation of Java Runtime Environment, java runtime environment, provides the required environment for the operation of java.
Summary:
JDK actually includes JRE, the compiler javac that compiles java source code, and many tools for debugging and analyzing java programs.
If you need to run java programs, you only need to install JRE. If you need to write java programs, you need to install JDK.
(Video tutorial recommendation: java video tutorial)
The above is the detailed content of What is the difference between jdk and jre. For more information, please follow other related articles on the PHP Chinese website!