CLASSPATH

classpath icon

Eclipse IDE Java project-related data

File type: Settings, options, themes or skins file, Source code and script file

A classpath file extension identifies project metadata used by Eclipse. A classpath file defines a project's Java build path.

It is an XML-based project file used to tell Eclipse where to find source code and required libraries.

What is classpath file?

File type category:
Settings, options, themes or skins file
Source code and script file

Date updated: October 24, 2026

The classpath file extension is associated with Eclipse, an open-source integrated development environment from the Eclipse Foundation. Eclipse runs on Microsoft Windows, Apple macOS and Linux, and supports development in Java, C/C++, PHP and other languages.

A classpath file usually contains the project's source folders, referenced libraries, project dependencies and output folder. It works with other Eclipse project metadata, such as the project description, to configure how Eclipse builds and runs the project.

The format remains in use for Eclipse projects, particularly Java projects. It is normally kept in the project's root folder and managed by Eclipse rather than edited as a standalone document.

How to open classpath file?

Open the project containing the classpath file in Eclipse. In Eclipse for Microsoft Windows, Eclipse for Mac and Eclipse for Linux, import the existing project into a workspace to have its build path read automatically.

The file can also be viewed as an XML text file in a text editor, but editing it manually may change the project's build path or cause configuration problems.

How to convert classpath file?

A classpath file is project configuration data and has no useful standalone conversion format. To move the settings to another Eclipse project, recreate or adjust the project's build path in Eclipse; source code and libraries should be transferred separately.

Suggested software to open classpath file:

Associated software actions with the classpath file

Software apps that create classpath files:

Microsoft Windows

Apple macOS / Mac OS X

Software apps that manage or store settings in classpath files:

Microsoft Windows

Apple macOS / Mac OS X

Related file extensions