![](/img/trans.png)
[英]NetBeans Java - How to add external library (jar) to git repository
[英]How do you add a .jar file to java library in Apache NetBeans 12.0
I wanted to know how to add a.jar to the java library in Apache NetBeans 12.0 due to method having changed from previous versions (There is not a library tab available in 12.0 when you select properties). 例如,NetBeans 中的先前方法如下:
在 NetBeans 中,創建新項目或打開要在其中添加 JAR 文件的現有項目。
然后單擊菜單運行 > 設置項目配置 > 自定義。
項目屬性 window 將打開。
在項目屬性 window 中,單擊左側類別窗格中的庫節點。
然后在右側,單擊運行選項卡,然后單擊添加 JAR/文件夾按鈕並瀏覽要添加的外部 JAR 文件,如下圖所示。 然后單擊確定按鈕。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.