This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes jar file is not working but if run in netbean means its working properly Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "jar file is not working but if run in netbean means its working properly" Watch "jar file is not working but if run in netbean means its working properly" New topic
Author

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

kanagaraj Lakshmanan
Greenhorn

Joined: May 21, 2012
Posts: 2
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
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32833
    
    4
Welcome to the Ranch

How are you adding that .jar to your classpath? That might be the problem.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4203
    
    3

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


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jar file is not working but if run in netbean means its working properly
 
Similar Threads
Maven Project loading props file
Netbeans, exporting to jar file
writing to jar file
Manifest file woes
about splash screen with jar file...