简体   繁体   中英

Java - setting classpath

My sample application tells me:

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

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

Could someone help me?

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.

  • From the top menu click 'Run' => 'Edit Configurations'
  • Choose the right 'Application' in the left column (if it's not yet selected)
  • Click on 'Configuration' tab in the right hand side column (if it's not yet selected)
  • Click the '...' button to the right of 'Environment variables:'
  • Click the '+' button.

qtjambi-deployment.xml file is situated in qtjambi-win<architecture>-msvc<year>-<vertion>.jar . Add this package to your classpath and your building problem will be solved. I hope)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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