The. classpath file for the Eclipse project

Source: Internet
Author: User


Path: Indicates which path to go to to find the compiler tool Javac, run the tool Java and so on.
Classpath: Indicates which path to go to to find the bytecode file
The default representation starts at Java5. (Current path)



<?xml version= "1.0" encoding= "UTF-8"?>
<classpath>
<classpathentry kind= "src" path= "src"/>
<classpathentry kind= "Con" path= "org.eclipse.jdt.launching.jre_container/ org.eclipse.jdt.internal.debug.ui.launcher.standardvmtype/javase-1.8 "/>
<classpathentry kind= "Lib" path= "Lib/mysql-connector-java-5.1.7-bin.jar"/>
<classpathentry kind= "Output" path= "Bin"/>
</classpath>


Analysis
Kind: category, type meaning: The value of kind cannot be changed, the common values are as follows:
The Src:source folder represents the source path,
Its characteristics: Files placed in this type of directory will be automatically compiled into the Classpath directory.

Con: Represents a connection, typically a jar package that represents a referenced JRE. (Don't care)

Output: Indicates that the file is compiled from the SRC directory, and is called the classpath path.

Lib; Represents a library file, typically a library that is added by itself (that is, a third-party jar package)

Path: Represents the paths of the corresponding kind, which can be modified.

Doing projects tends to change the SRC path value, as well as the output path value.

SOURCE folder: is actually a src type of path, its characteristics: files placed in this type of directory will be automatically compiled into the Classpath directory.
Package: Packages
Folder: Represents normal folders

The. classpath file for the Eclipse project

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.