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