Eclipse - Classapth

> Integrated development environment (ide) > Eclipse

1 - File

The file .classpath can be found at the root directory of a project.

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="src"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Oracle JDBC"/>
	<classpathentry kind="output" path="classes"/>
</classpath>

where:

  • the kind attribute can take the following values:
    • src for source file
    • con for a user library
    • output for the class compile output of the build