The meanings of various libraries in MyEclipse 10

Source: Internet
Author: User
Tags java se

New projects in MyEclipse generally have the following four types of libraries:
JRE System Library;java EE 6 libraries;referenced libraries;web App Libraries;
Various libraries meanings:

    • JRE System Library: Refers to a collection of common repository files for Java SE, which is used to build common Java projects;
    • Java EE 6 Libraries: refers to the Java EE Common Library file collection, the establishment of the Web project will use this library collection and Java SE library file collection;
    • Referenced Libraries: Refers to the collection of third-party library files that you use in your project. If you add the other jar packages you need for your project directly in the properties->java Build Path-a libraries, MyEclipse will automatically categorize the jar packages into a collection. and named referenced Libraries, displayed in the project.

Q: Do I often see jar package conflicts in SSH that are jar file conflicts in referenced libraries or webroot/web-inf/lib jar file conflicts?
Solution: The compile-time conflict is caused by a jar-package conflict in referenced libraries, and the runtime conflict is caused by a jar file conflict under Webroot/web-inf/lib. First referenced libraries can be a jar package that references webroot/web-inf/lib, or it can be a third-party jar package copied from somewhere else. Referenced libraries is a jar package used in a compiled environment, the so-called jar package used in a compiled environment is that when you write source files in Eclipse, the classes you need to refer to are from referenced Libraries the jar in this collection, the jar package in the Webroot/web-inf/lib is the jar package used in the runtime environment, and the jar package used in the so-called runtime environment is the set of jar packages that you need to use when running your project Note the distinction between two environments: the compilation environment and the running environment.

    • Web App libraries:this Container dynamically manages CLASSPATH entries for types in the Web-inf/lib and Web-inf/classes di Rectories.

About Web projects don't see the Web App Libraries, you can select the Web from the popup window by right-clicking on the project/built path/configure built path/click on the Libraries tab to choose the Add Library button on the right Add the APP libraries.

The meanings of various libraries in MyEclipse 10

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.