Referencing a .class file in IntelliJ Java Project

前端 未结 4 1834
温柔的废话
温柔的废话 2020-12-11 14:54

I just started playing around with IntelliJ. I need to call a function from a class file I downloaded, so I need to reference a .class file in my project. Can\'t figure out

4条回答
  •  -上瘾入骨i
    2020-12-11 15:29

    To get to the dependencies tab double click on the "src" folder, then click on the green plus button on the top right hand side. click "JARs or Directories", then add the parent folder of your .class file.

提交回复
热议问题