RXTX

From Open Source Ecology
Jump to: navigation, search

What is RXTX

"RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK). All deliverables are under the GNU LGPL license. It is based on the specification for Sun's Java Communications API, though while many of the class descriptions are the same the package used it not, since gnu.io is used instead. A certain amount of compatibility is intended with API, though this project should be considered as a fork and therefore compatible in spirit, but not in implementation."

RXTX Wiki

Move RXTX files to make Arduino boards compatible with Processing sketches

  • Navigate to the Arduino IDE folder>lib.
  • Copy RXTXcomm.jar

Arduinorxtx.png

  • Navigate to the Processing folder>modes>java>libraries>serial>library
  • Paste RXTXcomm.jar, replacing the existing version

Processinglibrary.png

Move RXTX Files from Arduino to Processing in Linux

  • Download the following file then copy it.

File:LibrxtxSerial.so

  • Navigate to the Processing folder>modes>java>libraries>serial>library>linux32 (or linux64 depending on your Operating System
  • Paste librxtxSerial.so, replacing the existing version

Processinglibrxtx.png

Move RXTX Files from Arduino to Processing in Windows

  • Navigate to the Arduino IDE folder.
  • Copy rxtxSerial.dll
  • Navigate to the Processing folder>modes>java>libraries>serial>library>windows32
  • Paste rxtxSerial.dll, replacing the existing version