RXTX for Java

Overview

  Obtain the RXTX binaries from one of the options below. The binary files are linked to an application via the -Djava.library.path Java command line argument.

Here is an example of linking the RXTX binary:


$ java -Djava.library.path="c:\opt\rxtx" -jar target/serial-plotter-0.0.1-SNAPSHOT.jar

                

Ubuntu - Command Line Installation

The librxtx package for Linux is a requirement of this project.   It is used to read sensor values from the Arduino into the Rasbperry Pi.   Install the librxtx dependency on the Raspberry Pi with this command:

sudo apt-get install librxtx-java

A Third (Untested) Option

  Another possible working implementation of RXTX for Java is gbang, but is not tested with onebeartoe applications or example code.

http://rxtx.qbang.org/wiki/index.php/Installation

usage: https://github.com/diegozalez/java-to-arduino



Date Created: 2016-11-22 06:46:42 -0600 (Tue, 22 Nov 2016)





back    |    top