Program Works on NetBeans, but Jar file doesn't work correctly.
I created a Form Application in Java to communicate via USB to a Microcontroller board. For that I need a library called libusbJava. My program is working just fine on NetBeans, but when I try to run the Jar file I receive the following error:
Caused by: java.lang.ClassNotFoundException: ch.ntb.usb.LibusbJava
When I build the jar file I receive the following notes:
Note: C:\Users\Home\Desktop\Thesis\Java UDP\USBDriver\src\ZTex.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Not copying library C:\Users\Home\Documents\NetBeansProjects\UCEcho\libusbJava , it's a directory.
I am not very familiar with java. Does anybody knows what I have to do?
Thanks very much,
jar, netbeans, library, build, export