Page 1 of 1

jna on raspberry

Posted: Mon Dec 30, 2013 5:00 pm
by freedomotic
Hi all,
I'm using the last raspbian image. I have a problem with JNA. When I try to load a library with java I receive

at it.freedomotic.app.Freedomotic.start(Freedomotic.java:375)
at it.freedomotic.app.Freedomotic.main(Freedomotic.java:484)
Exception in thread "main" java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:722)
at com.sun.jna.Native.loadNativeLibrary(Native.java:699)
at com.sun.jna.Native.<clinit>(Native.java:114)
at com.ftdi.FTD2XX.<clinit>(FTD2XX.java:127)
at com.ftdi.FTDevice.<clinit>(FTDevice.java:44)

I searched on google but didn't find a workround to solve the problem.
Any help?
Thanks

Re: jna on raspberry

Posted: Mon Dec 30, 2013 5:06 pm
by DougieLawson
sudo apt-get install libjna-java