Environment building of Java Learning

Source: Internet
Author: User

A few concepts in the Java environment:

JVM (Java Virtual machine)

JRE (Java Runtime Environment)

JDK (Java development Kit)

Java Development Kit (Java Development environment)

Jdk=jre+tools&tool APIs

Second, JDK version:

jdk1.0~1.1:

jdk1.2~1.4:

JDK1.5: (renamed JDK5.0), Tiger, Tigers

jdk1.6:jdk6.0, Mustang, Mustang

jdk1.7:jdk7.0, Dolphin, dolphins

JDK1.8:

Third, JDK download and installation:

3.1 Downloads:

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

1, 2,

3.2 Installation:

3.2.1 Installation path: D:\Program Files (x86) \java\jdk1.8.0_72

3.2.2 Configuring System Environment Variables: (depending on the path settings you have installed)

3.2.2.1, Java_home: Indicates JDK installation path (D:\Program Files (x86) \java\jdk1.8.0_72)

3.2.2.2, Path: Allows the system to identify JAVA commands under any path, with a variable value of%java_home%\bin;%java_home%\jre\bin

%java_home% is the value of the variable that references "Java_home"

My Computer right-click Properties, advanced system settings, environment variables, system environment variables

            

Iv. Test JDK Installation:

4.1 Click "Start", "Run", enter "cmd", enter the DOS interface

4.2 Enter "Java-version" on the command line, Java version information appears

  

    

4.3 Run the "Javac", "Java" tool (command):

1, 2,

V. Understanding the JDK directory:

BIN:JDK contains some development tools for executing files, including editors, interpreters, and some tools

Include:win32 Word directory, is a local method file

JRE: Is the root directory of the Java Program Runtime Environment

Some library files to be used by the Lib:java development tool

Src.zip: Archived Java source code

DB: Java-developed data can be derby, a relational database developed by Open source 100%java

Environment building of Java Learning

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.