I could run an opencv project(windows) in netbeans using 'run' button.But i want to make it as an executable jar.Is it possible? How can i do it ?The problem is that it is linked with a dll.
you can try java -jar test.jar
and add below sample in run
-Djava.library.path="C:\\Users\\Desktop\\opencv\\build\\java\\x64"
( http://www.codeproject.com/Tips/717283/How-to-Use-OpenCV-with-Java-under-NetBeans-IDE )
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.