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: 37466
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: jna on raspberry

Mon Dec 30, 2013 5:06 pm

sudo apt-get install libjna-java
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Java”