Home Building jar file of the java project that uses OpenCV and JavaCV libraries
Reply: 0

Building jar file of the java project that uses OpenCV and JavaCV libraries

Arun Gupta
1#
Arun Gupta Published in 2018-02-13 14:27:46Z

I am working on java project on image processing that uses openCV and JavaCV to open camera and do the processing. I have built the whole project and it's working perfectly in Netbeans IDE but on building jar file of the project, it gives error regarding OpenCV and JavaCV.

error given on running the jar file is :

PS C:\Users\Arun\Documents\NetBeansProjects\FaceDetection\dist> java -jar "C:\Users\Arun\Documents\NetBeansProjects\Face
Detection\dist\FaceDetection.jar"
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no opencv_java330 in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at Camera.AllFrames.<init>(AllFrames.java:129)
        at Camera.AllFrames$54.run(AllFrames.java:2890)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.303167 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO