The difference between JDK and Jre,java SE and Java EE and Java Me

Source: Internet
Author: User
Tags parent directory java se

The JDK, Java Development Kit, is intended for developers and provides a Java development environment and a running environment.

The JRE, the Java runtime enviroment, is a Java-oriented program user.

The JVM, the Java Virtul Machine.java virtual machine, is the most central part of Java implementation across platforms.

Overall relationship: JDK contains jre,jre containing JVM

After installing the JDK, there are two JRE computers, because almost all the tools in the JDK are written in Java, to use the tools attached to the JDK to develop Java programs, you must attach a set of JRE.

Java. EXE distinguishes which JRE to use. First look at their own directory there is no JRE, there is no JRE under the parent directory; Query the registry [Hkey_local_machine\software\javasoft\java Runtime Environment].

All Java programs are compiled into. class files that can be executed on the JVM. However, it is necessary to invoke the class library when executing the class file Lib,lib exists in the JRE (the JRE is equivalent to the JVM and the class library is Lib). What really works in the JDK in Java is Bin,include,lib,jre bin: the main compiler (Javac.exe), Include:java and JVM interaction header files, Lib: Class library, Jre:java runtime environment.

Other Ides, such as Eclipse, idea, and so on, have their own compilers instead of their own in the JDK Bin directory, so at installation you will find that they only require you to select the JRE path to be OK.

Java SE to do console program

Jave ee to do the web and so on with server program

Java me to do mobile end program

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.