Questions tagged [rxtx]

RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK).

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.

387 questions
0
votes
1 answer

Right click menu broken when running JAR file

I have a Java app which puts an icon in the systray with a right click menu. When I run this from the IDE (NetBeans) it works correctly. But when I build it, and run the JAR file it puts the icon in the systray but when I right click on it, it has…
Daryl B
  • 525
  • 5
  • 16
0
votes
0 answers

Sending D signal over USB in java

I want to know is there a way to send signals through a USB port using java. I've got an app, which, after fulfilling some conditions should send a signal to a stepper motor causing it to turn for a certain angle. I'm trying to find a way to send a…
0
votes
1 answer

Sending bytes over the serial port takes more than 5 minutes

My Java-Program is having trouble to communicate correctly over one serial port. In fact, there are two serial ports on the computer and the program manages two thread. Each thread is using one different serial port. One thread has trouble to send…
Nils De Winter
  • 1,370
  • 3
  • 11
  • 20
0
votes
1 answer

Is there a RXTX edition for ubuntu32bit?

http://rxtx.qbang.org/wiki/index.php/Download This is the URL of RXTX download page,but there is several editions and i can not recognize which is i need(Ubuntu 32bit).
Gzy
  • 1
0
votes
1 answer

Serial write with thread in Java

I am using a java thread while serial communication with the device. It works fine absolutely perfect in debug mode but when I run the program then the thread does not execute instructions.Am using the RXTX library for Serial Communication and the…
0
votes
1 answer

UnsatisfiedLinkError: gnu.io.RXTXPort.nativeSetLowLatency()

I am trying to set low latency when using rxtx library, the error that I am getting while running it under Ubuntu/Linux is: UnsatisfiedLinkError: gnu.io.RXTXPort.nativeSetLowLatency()Z It seems like a problem with a missing library but it seems to…
karruma
  • 768
  • 1
  • 12
  • 32
0
votes
1 answer

RXTX library in an applet

I'm developing an applet that uses the RXTX library, it works fine on eclipse, but when i export the jar and embed in an html page I get NoClassDefFoundError: could not initialize class gnu.io.CommPortIdentifier. I suppose that I don't have to…
Edgar
  • 467
  • 1
  • 8
  • 23
0
votes
1 answer

Java RXTX and Import Issues on Ubuntu

I have run the following to install the RXTX libraries in Ubuntu x86 13.04. sudo apt-get install librxtx-java I am using Netbeans and have added the RXTXComm.jar as a library to my application. The code still flags the error of not being able to…
DevilCode
  • 1,054
  • 3
  • 35
  • 61
0
votes
1 answer

Java application won't exit if serial port is left open

I'm using Netbeans to make a jfx app that talks to an arduino Uno. I have installed RXTX on my 64 bit OS X box and it seems to be working. In the main controller of the application in the initialize() method I do this: CommPortIdentifier portId =…
Binary
  • 21
  • 4
0
votes
0 answers

Java Serial Port unknown Output symbols in ubuntu

Hi I am using Ubuntu latest version 12.X. And i want to read the serial output from my java code. the problem is that i am getting out put as :�0300( iso 8859 1) instead of :10300. By the way i am using latest RXTX2.1 and JDK1.7. can any one let…
Prabhakar Manthena
  • 2,223
  • 3
  • 16
  • 30
0
votes
1 answer

Java - Deploying RXTX

I am on Windows Seven 64-bit. I wrote a little application that uses RXTX to communication through serial port. I used the rxtxSerial.dll for Windows 64-bit and it works pretty well on both Eclispe and NetBeans. At the root of the project, I placed…
corentinaltepe
  • 213
  • 2
  • 13
0
votes
1 answer

win32com.dll in Eclipse incompatible with 64 bit version. RXTX?

I have a 64 Windows 7 computer, and I need to run win32com in order to create a connection between my computer and a microcontroller. However, I ran into the same problem as seen here: Error with win32com.dll in Eclipse My post on the thread above…
Samonac
  • 1
  • 2
0
votes
2 answers

JAVA: writing and reading buffer from serial using RXTX

I've got strange results when I'mt trying to read string buffer from serial com using RXTX. After writing a string to COM I've to store the string as reply. And this is inside a loop. The string printed in console sometimes not corrispond to the…
Alessandro Mattiuzzi
  • 2,309
  • 2
  • 18
  • 24
0
votes
1 answer

Java JSSC rs232 no events

I'm trying to get some values from rs232 (card reader Roger prt66lt) with a java simple serial connetor (jssc) but it look like i dont get any events started. I'm using the example code. The card reader is set to send card number when he reads it.…
Gravian
  • 957
  • 2
  • 11
  • 20
0
votes
1 answer

Input and output stream using RXTX with button

I'm trying to make a Java interface with the RxTx library to communicate with a serial port. I made my interface using Jigloo (shame on me) because my Java knowledge is very limited. The thing I'm trying to do now is to send data from Java to my…