0

I am trying to run a Java program which uses gnu.io.

This is failing because RXTX has not been installed correctly.

I went to the FAQ.

And subsequently changed the configure.in file to be extended to 1.8*

But I am still getting the same error telling me that librxtxRS485.la is not a directory.

How do I solve this issue??

Unheilig
  • 16,196
  • 193
  • 68
  • 98
Robert Mason
  • 181
  • 3
  • 15
  • I do not suggest using RXTX, you might face problems, look at this answer http://stackoverflow.com/questions/5979305/java-serialport-close-blocks/31899877#31899877 – Maytham Fahmi Nov 12 '15 at 08:40

1 Answers1

0

You can try install RXTX library from repository:

sudo apt-get install librxtx-java

and run application

java -Djava.library.path=/usr/lib/jni Class.class
asdo
  • 1
  • 2