Eclipse - Classapth

Card Puncher Data Processing

Eclipse - Classapth

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





Discover More
Card Puncher Data Processing
Eclipse - User Library

A User Library in Eclipse is a set of jar files. In the classpath file, you can read the following path org.eclipse.jdt.USER_LIBRARY/MyLibraryName.



Share this page:
Follow us:
Task Runner