Java Basics Overview

Source: Internet
Author: User

Write code:

1, clear demand.

2, analysis of ideas.

3, determine the steps.

4, code implementation.

Three technical architectures for Java:

Javaee:java Platform Enterprise Edition, the development of applications in the corporate environment, mainly for the development of web programs;

Javase:java Platform Standard Edition, complete the development of desktop applications, is the basis of the other two;

Javame:java Platform Micro Edition, the development of electronic consumer products and embedded devices, such as mobile phone programs;

1,jdk:java Development Kit,java Development and operating environment, Java development tools and JRE.

2,jre:java Runtime Environment,java program run environment, Java run the required class library +JVM (Java Virtual machine).

3, configure the environment variable: Let the Java jdk\bin Directory tool, can run in any directory, because the tool is located in the directory to tell the system, when using the tool, the system to help us find the specified directory.

What do javac commands and Java commands do?

You know that Java is divided into two parts: one is compile, one is run.

Javac: is responsible for the compilation of the part, when the execution of Javac, will start the Java compiler program. Compiles a. java file with the specified extension. Generates bytecode files that the JVM can recognize. This is the class file, which is Java's running program.

Java: The part that is responsible for running. The JVM is started. Loads the class library that is required by the runtime and executes it on a class file.

A file to be executed must have a starting point for execution, and this starting point is the main function.

Java Basics Overview

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.