简体   繁体   English

如何在 Apache Z69F0F6923BC1F8AAAZ16B9688 中的 java 库中添加 a.jar 文件

[英]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). 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). For example the previous method in NetBeans was the following:例如,NetBeans 中的先前方法如下:

In NetBeans, create a new project or open an existing project in which you want to add the JAR file.在 NetBeans 中,创建新项目或打开要在其中添加 JAR 文件的现有项目。

Then click on the menu Run > Set Project Configuration > Customize.然后单击菜单运行 > 设置项目配置 > 自定义。

The Project Properties window will open.项目属性 window 将打开。

In the project properties window, click on the Libraries node at the left Categories pane.在项目属性 window 中,单击左侧类别窗格中的库节点。

Then on the right side, click on the Run tab and then click on the Add JAR/Folder button and browse the external JAR files you want to add, as shown in the below image.然后在右侧,单击运行选项卡,然后单击添加 JAR/文件夹按钮并浏览要添加的外部 JAR 文件,如下图所示。 Then click on the OK button.然后单击确定按钮。

I figured it out it seems in Apache NetBeans 12.0 they moved the libraries option out of the properties tab and into the tools tab我发现它似乎在 Apache NetBeans 12.0 他们将库选项从属性选项卡中移到了工具选项卡中在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM