Getting Started with Java basics

Source: Internet
Author: User

Java Basics

The JVM, JDK, JRE relationship:

JDK: (Java Develop Kit) is primarily intended for developers and is the core of the entire java. It includes the Java Runtime Environment (JRE), Java Tools (JAVAC/JAVA/JDB, etc.), and the Java base Class library.

JRE: (Java Runtime Environment) is a collection of environments that a Java program must run. It includes the JVM standard implementation and the Java Core Class library.

JVM: (Java Virtual machine) Java VMS, Java itself is not cross-platform, Java cross-platform relies on the JVM to achieve.

All Java programs will be compiled into a. class file, the JVM can execute the compiled class file, that is, the class file is not directly related to the machine's operating system, but through the Java Virtual Machine concise and operating system interaction, by the virtual machine to interpret the program as different target code (different operating system generation of target generation Code is different) and executed on the local system. Only the JVM is not able to execute the class file, because the class file is interpreted with the Lib class library, and the JRE contains the Lib classes.

J2SE, Java EE, J2ME

J2ee,j2se,j2me is a multiple version of Sun's Java, just like Windows XP and the Pro and Home editions.

Java EE: Enterprise Edition, which uses this JDK to develop the EE application, starting with JDK 5.0 and renaming Java.

J2SE: Standard version, which is the version we usually use. Renamed from JDK5.0 to Java SE.

J2ME: Mobile for small devices, is a subset of J2SE. Used primarily for Java applications on mobile devices and embedded devices, starting with JDK 5.0 and renaming Java ME.

Getting Started with Java basics

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.