如何在 NetBeans 中设置类路径? [英] How do I set the classpath in NetBeans?

查看:30
本文介绍了如何在 NetBeans 中设置类路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我在 NetBeans 中在哪里以及如何设置类路径?我想添加一个 .jar 文件.

Can someone tell me where and how I set the classpath in NetBeans? I would like to add a .jar file.

推荐答案

  1. 右键单击您的项目.
  2. 选择属性.
  3. 在左侧点击Libraries.
  4. Compile tab 下 - 点击 Add Jar/Folder 按钮.
  1. Right-click your Project.
  2. Select Properties.
  3. On the left-hand side click Libraries.
  4. Under Compile tab - click Add Jar/Folder button.

  1. 扩展您的项目.
  2. 右键单击.
  3. 选择添加 Jar/文件夹.

这篇关于如何在 NetBeans 中设置类路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆