1. java introduction and java Introduction

Source: Internet
Author: User

1. java introduction and java Introduction

1. Father of java: James Gosling)

2. 1995 developed by SUM and 2009 acquired by Oracle

3. java platform version:

*J2SE:The standard version of Java is the basis of both.
*J2EE:Development that is commonly used on mobile phones has been replaced by Android and is basically not used now.
*J2EE:It is mainly used for B/S structure applications.

4. java features: cross-platform

Platform: refers to the Operating System (Windows, Linux, Mac)

Cross-platform: Java programs can run on any operating system.

Principle: to achieve cross-platform implementation, Java Virtual Machine (JVM) is required to rely on Java. (that is, as long as the corresponding Virtual Machine is installed on each platform, java programs can be compiled only once, instead of writing multiple versions based on different platforms)

 

5,JVM JRE JDKDescription

* JVM (Java Virtual Machine ):Java Virtual MachineJava programs must run on virtual machines. different platforms have their own virtual machines. Therefore, java can be used across platforms.

* JRE (Java Runtime Environment ):Java Runtime EnvironmentIs the core class library required by Java Virtual Machine and Java program. To run a developed Java program, you only need to install JRE on the computer.

* JDK (Java development Kit ):Java Development KitIs provided to Java developers, including java development tools and JRE. Therefore, if JDK is installed, you do not need to install JRE separately.

Development tools: compilation tool (javac.exe) Packaging tool (jar.exe) and so on

Roles and relationships of JDK, JRE, and JVM

JDK includes JRE and Development Kit

JRE includes the core class library and JVM

In general, to compile a java program, you only need to install JDK, including JRE and JVM.

 

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.