The difference between JDK and JRE

Source: Internet
Author: User

Jre:java runtime Environment/java Run-time environment
Target User: Only the user who wants to run the Java program
The JRE contains: Deployment,user Interface toolkits,integration libraries,other base Libraries,lang and util base Libraries, Java V Irtual machine (Jvm,java VM).

Jdk:java Development Kit/java Development Kit
Target User: Java development programmer
The JDK is the developer kit that programmers need to write Java programs in the Java language. The JDK contains the JRE, as well as the compiler Javac, which compiles Java source code, and includes many tools for debugging and analyzing Java programs: Jconsole,java VISUALVM and other tools software, It also contains the documentation Javadoc and demo sample programs that are required for the Java program to be written.

JRE vs JDK vs JVM

Contact:
The JDK contains the JRE.
The JRE contains the JVM.

Difference:
If you need to run a Java program, just install the JRE.
If you need to write and run Java programs, you need to install the JDK.

The difference between JDK and JRE

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.