.classpath stores metadata information about the project path.
There are two ways to change it: 1. Through the interface: right-click the project → build a path, change here, and you will see the changes in .classpath
2. (not recommended): edit the .classpath file, be careful as a small corrupt project with an error. Edit, save, then create / update. You should see it updated in the ui build path. If not, restart eclipse, it will select a new .classpath.
source share