One of the Javase series-building the Java environment

Source: Internet
Author: User

1.JRE and JDK

The JRE (Java Runtime Environment), as its name implies, is the Java Runtime Environment, which contains the Java virtual machine, the Java base Class library. The software environment that is required to run a program written in the Java language is provided to the user who wants to run the Java program.

The JDK (Java development Kit), which is available to Java developers, includes the Java SDK and the JRE. So with the JDK installed, there's no need to install the JRE separately.

In simple terms: jre=jvm+ class Library, Jdk=jre+java development tools. Java programs developed using the JDK to run to the JRE

2.Download and install the JDK

jdk Download:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Of course, the almighty Baidu also line:

  Fool-mounted, next.

Recommendation: The installation path should not have Chinese or special symbols such as spaces.

When prompted to install the JRE, you can choose not to install.

3.path interpretation under the JDK installation directory

Open the Java installation directory

The first thing you see is the bin directory, which is the repository for compilers and tools.

Then look down and see the Include folder, which is the file used to compile the local method.

Looking down, there is a JRE folder, which is the file that holds the Java Runtime environment.

Look down, there is a Lib folder, this is the storage of class library files.

Finally see a src.zip, extract the src folder, this is the repository of library source files.

4.Introduction to Java Development tools

Writing Java programs can use a lot of tools, Notepad, editplus,eclipse,myeclipse, beginners recommend the use of MyEclipse, do not consider so many environmental problems, fool-type installation can be used, not recommended Chinese.

Click I download MyEclipse10

One of the Javase series-building the Java environment

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.