Home  >  Article  >  Java  >  What is the difference between jdk and jre

What is the difference between jdk and jre

王林
王林forward
2020-07-16 16:44:133999browse

What is the difference between jdk and jre

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete