Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

import from another java project in eclipse

I'm working on two projects in eclipse and I would like to import some classes from project a to project b. What should I do?

Is there a way of doing it without adding the project to the build path ?

like image 835
David B Avatar asked Aug 15 '10 13:08

David B


1 Answers

add project A to project B's build path.

Follow these steps:
Edits by @David B
Right click on project B's folder in eclipse --> properties --> build path --> projects --> add.
Now add project A

like image 128
ozk Avatar answered Sep 25 '22 19:09

ozk