calling a class in another project Eclipse

前端 未结 7 919
执笔经年
执笔经年 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 14:56

    If B is in the same workspace and alos open you have to put int in "Projects" not is "Source". If you want to make A "more" independent, you have to export B.jar and the add it to "Libraries"

提交回复
热议问题