calling a class in another project Eclipse

前端 未结 7 915
执笔经年
执笔经年 2020-12-03 14:16

I have a project \"A\" and I need to call a class \"c\" from another project \"B\".

I have done the following. Click in \"A\" -->Properties -->Build Path --> and in

7条回答
  •  自闭症患者
    2020-12-03 15:14

    You need to add project B to the Run configuration used by project A. In the menu Run -> Run configurations... , add the project B in the tab 'classpath' of your run configuration.

提交回复
热议问题