How do I include .class files in my project in Eclipse? (Java)

前端 未结 6 1475
抹茶落季
抹茶落季 2020-11-29 09:12

Hey all. I am working on a project for school where we are given the .class file but not the source to include in our code. I am using Eclipse, and I want to include the fil

6条回答
  •  生来不讨喜
    2020-11-29 09:55

    zip the class folder.

    Highlight project name, click "Project" in the top toolbar, click "Properties", click "Libraries" tab, click "Add External jars", add the zipped file

提交回复
热议问题