Java beginners have to know the concept of JDK,JRE,JVM difference?

Source: Internet
Author: User

Java beginners have to know the concept of JDK,JRE,JVM difference?


JVM (Java Virtual machine Java VM)


Can be understood as a virtual computer, with the basic computing methods of the computer,


It is primarily responsible for interpreting bytecode files generated by Java programs into machine instructions on specific system platforms.


Let specific platforms such as Windows run these Java programs.


JRE (Java Runtime Environment Java Run environment)


Includes the Java Virtual machine (JVM Java) and the core class libraries required by the Java program, etc.


If you want to run a well-developed Java program, you only need to install the JRE in your computer.


JDK (Java Development Kit Java Development Kit)


The JDK is available to Java developers with Java development tools,


The JRE is also included. So with the JDK installed, you don't have to install the JRE separately.


The development tools include the build tool (Javac.exe) packaging Tool (Jar.exe), etc.


In simple terms: Java programs developed using the JDK are delivered to the JRE to run.


Three relations:


JVM: A machine instruction that converts a bytecode file into a specific system platform.


The core class library of the Jre:jvm+java language.


Development tools for Jdk:jre+java.


Java beginners have to know the concept of JDK,JRE,JVM difference?

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.