java - org.usb4java.LoaderException: Native library not found in classpath error -


am trying use usb4java library project running in ubuntu 64bit. getting following error;

30 jul 2015 09:46:16,225 info  controller     : working directory: /opt/dock exception in thread "main" java.lang.exceptionininitializererror     @ uk.co.swimtag.control.controller.finddevice(controller.java:755)     @ uk.co.swimtag.control.controller.startapplication(controller.java:150)     @ uk.co.swimtag.control.controller.main(controller.java:104) caused by: org.usb4java.loaderexception: native library not found in classpath: /org/usb4java/linux-x86_64/libusb4java.so     @ org.usb4java.loader.extractlibrary(loader.java:281)     @ org.usb4java.loader.load(loader.java:358)     @ org.usb4java.libusb.<clinit>(libusb.java:640)     ... 3 more 

here 2 jars in manifest file, , sure x86_64 lib in project;

 lib/mail.jar   lib/gson-1.6.jar   lib/usb4java-1.2.0.jar   lib/libusb4java-1.2.0-linux-x-86_64.jar   conf/ 

any 1 had similar problems usb4java. silly have missed.

thanks

maybe typo. if you're sure jar natives on classpath, may in manifest file wrote: libusb4java-1.2.0-linux-x-86_64.jar instead of libusb4java-1.2.0-linux-x86_64.jar


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -