Java - 设置类路径 [英] Java - setting classpath

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

问题描述

我的示例应用程序告诉我:

My sample application tells me:

No 'qtjambi-deployment.xml' found in classpath, loading
libraries via 'java.library.path'

我希望我的申请使用 qtjambi-deployment.xml ,但遗憾的是在 IntelliJ IDEA 10.5 中找不到合适的设置。

I wish for my application to use the qtjambi-deployment.xml, but unfortunately can't find the appropriate setting in IntelliJ IDEA 10.5.

有人可以帮助我吗?

推荐答案

您可以右键单击IntelliJ项目中的任何目录,选择将目录标记为...,然后选择源根。导演文件夹将颜色从黄色变为蓝色; IntelliJ认为所有这些目录都在你的CLASSPATH中。

You can right click on any directory in your IntelliJ project, select "Mark Directory As...", and choose "Source Root". That director folder will change color from yellow to blue; IntelliJ considers all those directories to be in your CLASSPATH.

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

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