Java Development Prelude

Source: Internet
Author: User

1, JDK directory introduction

Bin directory: Java compiler, interpreter, and other tools (executable file)

DB directory: Jdk7 comes with a lightweight database, named Derby

Include directory: the interface file that holds the calling system resource

JRE directory: Storing Java Runtime environment files

Lib holds Java class library files

Src.zip file: JDK provides the source code for the class

Things to keep in mind when installing JDK

A, do not include Chinese in the installation path

B. Do not include spaces in the installation path

2. Java Environment

JRE (Java Runtime Environment) Java Runtime Environment jre=jvm+ Core Class library (core file for secondary Java Virtual machine run)

JDK Java Development Toolset Jdk=jre+java development tools

3. Configure Environment Variables

3.1. Why to configure the PATH environment variable

Because there are a lot of tools that we use in our development under the Bin directory of the JDK such as: Java.exe Javac.exe, so when we are using these Java development tools in any location under the computer, we need to configure the paths of these tools in the environment variables of the system, and when we use them, the system can help us to find these commands.

3.2. How to configure the PATH environment variable

We copy the path to the bottom bin of the JDK

In our computer-----à attribute-----à advanced-----à environment variable---------àpath this

Place the path of the bin to the front of the path, and don't forget to add a semicolon;

Java Development Prelude

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.