Javability (Java, Zaurus, Linux, Live) by Jean-Marc Autexier, Saarland/Germany
cat /dev/www | egrep 'Java|Linux|Zaurus|ITnews|Live' > blog

7.10.04 17:26 Java Communication API (serial and parallel port) and Linux ( , , , )

Linux is not directly supported by SUN Java Communication API (" platform-independent communications applications for technologies such as voice mail, fax, and smart cards").

The RxTx project provides a native lib for serial and parallel communication for Java.

The installation is pretty easy:

  • Add libParallel.so and libSerial.so to your library path (or put them in ./jre/lib/i386/) and
  • add jcl.jar to your classpath (or put it into ./jre/lib/ext/).
  • Then download Java Comm for Solaris, put the jar file to your classpath and
  • change the driver loaded by Java Comm API to "Driver=gnu.io.RXTXCommDriver".


You can find here more detailled installation instructions.

Hopefully the SMS application I'm currently working on will be easily installable also under Linux (I care about easy installation, which is always not as easy with Java apps as it is with native applications, because if it is not easy people will not use it).

posted by Jean-Marc Autexier | 0 comments | Permalink | Send to Friends | Google it!
Subscribe

Locations of visitors to this page
selected blogs
ressources
Security
Unsorted
Fun
Free&Open Software
archives
This is a personal web page. Things said here do not represent the position of my employer.
RSS icons by: FastIcon.com