Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project

后端 未结 9 1487
时光取名叫无心
时光取名叫无心 2020-11-21 10:20

When creating a new Java project in IntelliJ IDEA, the following directories and files are created:

./projectname.iml
./projectname.ipr
./projectname.iws
./s         


        
9条回答
  •  情深已故
    2020-11-21 10:34

    Just copy-paste the .jar under the "libs" folder (or whole "libs" folder), right click on it and select 'Add as library' option from the list. It will do the rest...

提交回复
热议问题