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