How to link project in eclipse

Linking Source

Project properties -> Java build path (tree-item) -> Source (tab) -> Link source (button)

Linking Projects

Project properties -> Java build path (tree-item) -> Projects (tab) -> Add... (button)

Suggestion

See Eclipse help topic: Workbench User Guide > Tasks > Working with projects, folders and files > Creating linked resources.


  1. Select the Project you want to reference from on Package Explorer
  2. Right-click and go to Properties ( or hit Ctrl-Enter ).
  3. Under Projects in Java Build Path you can add another project which is currently open.

If you want to override a class you can make a copy of it in your current project and move it further up in the classpath in Order and Export.