Java build in popular science eclipse

Source: Internet
Author: User

When I first learned eclipse, build path is often used, but often is followed by the tutorial, the amount is not quite understand what this is, and then today saw the geek video has relevant explanations, to record.

Build Path is a collection of resource properties that specifies the Java project, in a mature Java project, not only the source code that you write, but also the System Runtime Library (JRE), third-party feature extensions (jar packages), other projects, and even external class files, These resources are all dependent on the project, and only references are required to successfully compile the project, and build path is used to configure and manage references to those resources.

The build path typically includes the JRE runtime Library, third-party extension libraries (jar packages), other projects, other source code, or class files.

The first source is the configuration of the project source code storage path, generally do not move

The second project configures that the current project can contain other projects in the workspace.

The third libraries is the library, where the system will default to the project with a system operating environment of the library, introduction to the right several buttons meaning:

Add Jars ... Adding a jar package refers to the project currently contained in this eclipse, which is selected under the project list

Add External Jars ... Add the external jar, refers to the external, need to use the File Manager, on the computer hard disk selected. (Does not exist in the current working directory of the file)

Add Variable. Add variables, environment variables used by Eclipse's compile-time, also say add-in-project packages, such as custom variables (can be a folder)

Add Library ... Adding a library refers to a collection of already defined jars, as they are often

Add Class Folder ... To add a catalog of classes, refer to this Eclipse scope and select an interface under the project list.

Add External Folder ... Add the external class directory, you need to use the File Manager, on the computer hard disk selected.

Attached: Note that the Java Runtime Environment JRE version in Build path is >=properties to the level value of Java COMPILER-JDK Compliance (compatible)

The last order and export sorts all the contents of the build path, or designates it as either output or no output.

Java build in popular science eclipse

Related Article

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.