The first chapter of Java Programming Basics

Source: Internet
Author: User

Computer language

The way people communicate with computers.

There are many kinds of computer languages, such as C language, C++,java, etc.

Interactive

The advent of software enables better communication (interaction) between people and computers.

Interactive mode

Graphical interface: Easy to interact, easy to operate, simple and intuitive, user-friendly.

Command line: You need a console, you need to enter specific instructions, let the computer complete the operation, but also need you to remember some commands.

Java language Overview:

1. The Java language is a high-level programming language introduced by Sun Corporation (Stanford University Network, Stanford University web Company) in 1995.

2. The Java language is an internet-facing programming language.

3. As Java technology continues to mature on the web, the Java language has become the preferred development language for Web applications.

4. Java language is easy to learn, fully object-oriented, safe and reliable, independent of the Platform (operating system)

Programming language.
P.s:java is to allow users to transfer applications over the Internet from the remote server to the local machine
On and execute a language

Three architecture of the Java language

Java EE Enterprise Edition:

is a suite of solutions for developing applications in enterprise environments

Technologies included in this technology, such as Servlets, JSPs, etc., are primarily targeted at web applications
Development.

Javase Standard Edition

is a solution for developing common desktop and business applications.


The technology system is the basis of the other two, can be completed some desktop application development, such as
The Java version of minesweeper

Javame Mini Version

It is a solution for the development of electronic consumer products and embedded devices.

The technology system is mainly used in small electronic consumer products, such as mobile phone applications.

Cross-platform:

What is cross-platform?


Applications written in the Java language can be run on different system platforms.


What is the principle?


Just install a Java Virtual machine (JVM Java virtualmachine) on the operating system that needs to run the Java application.

The JVM is responsible for the operation of the Java program in the system.

Ps:java languages are cross-platform and JVMs are not cross-platform

What is JRE,JDK?

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. jre=jvm+ Class Library

JDK (Java Development Kit Java Development Kit)

The JDK is available to Java developers, which includes Java development tools and the JRE. So with the JDK installed, you don't have to install the JRE separately.

Among the development tools: the compiler tool (Javac.exe) packaging Tool (Jar.exe) and other jdk= development tools +JRE

PS: Java program developed with JDK to run with JRE

The difference between JVM, JRE, and JDK:

JVM (Java Virtual machine): Java VMS, which are used to ensure the cross-platform nature of Java.

JRE (Java Runtime Environment): Java Runtime Environment, including Jvm+java's core library.

JDK (Java Development Kit): Java development tools, including jre+ development tools

The first chapter of Java Programming 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.