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

后端 未结 9 1489
时光取名叫无心
时光取名叫无心 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:46

    Steps for adding external jars in IntelliJ IDEA:

    1. Click File from the toolbar
    2. Select Project Structure option (CTRL + SHIFT + ALT + S on Windows/Linux, + ; on Mac OS X)
    3. Select Modules at the left panel
    4. Select Dependencies tab
    5. Select + icon
    6. Select 1 JARs or directories option

提交回复
热议问题