如何在 NetBeans 中设置类路径? [英] How do I set the classpath in NetBeans?
本文介绍了如何在 NetBeans 中设置类路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谁能告诉我在 NetBeans 中在哪里以及如何设置类路径?我想添加一个 .jar 文件.
Can someone tell me where and how I set the classpath in NetBeans? I would like to add a .jar file.
推荐答案
- 右键单击您的项目.
- 选择
属性
. - 在左侧点击
Libraries
. - 在
Compile tab
下 - 点击Add Jar/Folder
按钮.
- Right-click your Project.
- Select
Properties
. - On the left-hand side click
Libraries
. - Under
Compile tab
- clickAdd Jar/Folder
button.
或
- 扩展您的项目.
- 右键单击
库
. - 选择
添加 Jar/文件夹
.
这篇关于如何在 NetBeans 中设置类路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文