• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jar file is not working but if run in netbean means its working properly

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am developing a small app that captures photos from the web cam.I developed this app using NetBeans 7.0 .App worked fine when i runned through NetBeans.But when executed outside NetBeans in the dist folder which contains the executable jar file of the app it couldn't detect the webcam.I placed the necessary libraries (jmf.jar) in the lib folder.Still the problem exists. Thanks in advance
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

How are you adding that .jar to your classpath? That might be the problem.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
kanagaraj, why did you copy and paste a question that was asked (and abandoned) last year on another forum?
http://stackoverflow.com/questions/6503673/jmf-how-to-find-the-required-dlls

Also, please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/advanced-java/60013-if-i-do-double-click-jar-its-not-working-but-its-run-netbeans-cmd-prompt.html
 
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic