![idea如何導入jar包](https://img.php.cn/upload/article/000/000/040/5e5c8efd3967c388.jpg)
idea如何導入jar包
#第一種方法:
1、點選File –> Project Structure。
(相關影片教學分享:java影片教學)
![158312287974268idea如何導入jar包 idea如何導入jar包](https://img.php.cn/upload/image/757/372/382/158312287974268idea%E5%A6%82%E4%BD%95%E5%B0%8E%E5%85%A5jar%E5%8C%85)
#2、再找到Modules->Dependencies,點選最右側邊的綠色號碼
![158312288429648idea如何導入jar包 idea如何導入jar包](https://img.php.cn/upload/image/717/168/826/158312288429648idea%E5%A6%82%E4%BD%95%E5%B0%8E%E5%85%A5jar%E5%8C%85)
3、選擇1或2都行的:
![1583122890888828.png idea如何導入jar包](https://img.php.cn/upload/image/535/952/762/1583122890888828.png)
4、然後就是選擇你要導入的Jar包了。
第二種方法:
1、在你需要匯入的Jar套件上,點選右鍵,選擇Add as Library…
![1583122894975680.png idea如何導入jar包](https://img.php.cn/upload/image/968/641/706/1583122894975680.png)
點擊OK就行了。
![158312289979375idea如何導入jar包 idea如何導入jar包](https://img.php.cn/upload/image/250/961/453/158312289979375idea%E5%A6%82%E4%BD%95%E5%B0%8E%E5%85%A5jar%E5%8C%85)
更多相關教學課程,請追蹤PHP中文網!
以上是idea如何導入jar包的詳細內容。更多資訊請關注PHP中文網其他相關文章!