java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path

Here's how to fix the error 'java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path' when running a Java application on the Raspberry Pi.

Install librxtx using the following command:

sudo apt-get install librxtx-java

Copy the rxtx files from the following directory:

/usr/lib/jni

and put them into this directory:

/usr/lib

Now try and run your Java application and it should work fine. :D


Published at

Tags: Raspberry Pi,Java

Luke Alderton

Comments

Post a comment
Sit tight...
We're adding your comment.
Thank you.
Your comment has been added.
There's been a problem.
Please try again later.
Share with
Tags
Latest Comments
By Helenpaups on MVC forms in Umbraco
23 May 2018, 16:48 PM
By Helenpaups on MVC forms in Umbraco
23 May 2018, 13:46 PM
By AkikoTax on MVC forms in Umbraco
20 May 2018, 06:41 AM
By Klaus on MVC forms in Umbraco
17 May 2018, 10:47 AM
By Archie on MVC forms in Umbraco
16 May 2018, 18:52 PM
By w on JQuery Unobtrusive Validation for dynamically created elements
11 May 2018, 02:00 AM
By Luke on Umbraco using Global.asax to handle events before the Request Handler.
27 Apr 2018, 18:28 PM
By Janine Gardiola on Umbraco using Global.asax to handle events before the Request Handler.
26 Apr 2018, 11:18 AM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development