User avatar
Posts: 154
Joined: Sat Apr 21, 2012 3:59 pm
Location: Italy
Contact: Website

jna on raspberry

Mon Dec 30, 2013 5:00 pm

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

Exception in thread "main" java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-arm/ not found in resource path
at com.sun.jna.Native.loadNativeLibraryFromJar(
at com.sun.jna.Native.loadNativeLibrary(
at com.sun.jna.Native.<clinit>(
at com.ftdi.FTD2XX.<clinit>(
at com.ftdi.FTDevice.<clinit>(

I searched on google but didn't find a workround to solve the problem.
Any help?
Freedomotic Open IoT Framework

User avatar
Posts: 39551
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: jna on raspberry

Mon Dec 30, 2013 5:06 pm

sudo apt-get install libjna-java
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

Return to “Java”