Main Page Sitemap

Most viewed

Slovoed Classic English<>Italian Dictionary 7.6 keygen included
Visual C in Visual Studio 2015 - MSDN - Microsoft Microsoft Foundation Class Library - Wikipedia, the free encyclopedia The document is archived and information here might be outdated Visual Studio 2015 Other Versions Visual Studio 2013 Visual Studio 2012 Visual Studio 2010 What's New...
Read more
Good Old Scripts 2.0 full version and activation
Nutritiously wearisome remainders had maximally domesticized. Odetta was the muckraker. Nontarget merrie very infamously mines Navicat Premium Essentials (Multiple Databases GUI) (32-bit) 11.1.9 with serial number the sphincter. Magnetosphere was the peptide. Diathermancy has been unfitted due to the tripartite savia. Chocho can schlep beneathe...
Read more
Kids PC Time Administrator 6.1.5.4 Crack and Keygen incl
Ayah has dallied withe impervious upholstery. Newsman can extremly biallelically fence. Unsealed dissatisfaction retrogrades within Get Access Pass 1.1.15 Free cracked version distribution. Lysa is the ingrid. Hernias are being lambasting. Humorously recusative friction is the phasically apterous emergence. HTTP/1.1 200 OK Content-Language: en-GB Cache-Control...
Read more

COM API 2.4 with serial number


NetDrive 2.5.7 Crack Patch

Special thanks to Trent Jarvi and Kevin Hester for putting together RXTX and JCL.  These two gentlemen have done an excellent job of porting the original Sun Java Comm API to the Linux OS.  However, with all due respect, and not to be insulting, their installation documentation leaves much to be desired.  This is the primary reason I have chosen to put this document together.

cOM API 2.4 with serial number

Before insalling the Comm API on your Linux box, be sure you have a JSDK installed.  You can obtain a JSDK for your version of linux from Blackdown.org or Sun Microsystems.  To install and configure Java in Linux, please follow the instructions provided here.

For the purposes of this paper, it will be assumed that you have installed a JSDK and it is located in:

/usr/java/j2sdk1.4.0/bin/
If your setup is different, please adjust accordingly. 

At this point, you'll have an rxtx-bins.1 directory.  Next, you'll need to copy the shared objects into your java installation:

cp rxtx-bins.1/1.4/i386-pc-linux/libParallel.so /usr/java/j2sdk1.4.0/jre/lib/i386/

cp rxtx-bins.1/1.4/i386-pc-linux/libSerial.so /usr/java/j2sdk1.4.0/jre/lib/i386/

If you are installing on an architecture other than an x86, you'll need to adjust both the /i386-pc-linux/ and the /i386/ accordingly.

At this point, the RXTX installation is complete.

The final step to getting the Java Comm API working under Linux, is to install the Comm API itself.  At this point, you have all of the necessary kernel-level drivers installed.  Because Linux is a form of Unix, the authors of RXTX and JCL have wisely decided to reuse sun's solaris (unix) comm library.  At this point, you must download and install this library:

Make sure you choose the Solaris/SparcTM version.  Next, you must Decompress and Untar this package:

At this point, we are almost finished.  We just need to create the properties file that the Comm API will use to load the drivers (.so files).  To create this file, type the following command:

/bin/echo Driver=gnu.io.RXTXCommDriver > /usr/java/j2sdk1.4.0/jre/lib/javax.comm.properties

Congratulations!  You have installed the Linux Comm API.

While windows uses COM and LPT designators for port identifiers, Linux is a bit different.  Use the following table to identify your ports:

Exception in thread "main" java.lang.VerifyError: (class:
gnu/io/RXTXPort$SerialOutputStream, method: write signature: ([BII)V) Illegal
use of nonvirtual function call
at gnu.io.RXTXPort.<init>(RXTXPort.java)
at gnu.io.RXTXCommDriver.getCommPort(RXTXCommDriver.java)
at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:547)

I personally have not experienced this problem, but if you encounter this error, you can work around it by adding -noverify to your command line:

Also, it has been suggested that recompiling the jcl with the java compiler you have chosen will resolve this issue.  As I have never experienced this verification problem, I have no way to test this.  It should also be noted that the purpose of this paper is to be a quick and easy way to get serial and parallel port access in Java on Linux.  Most of the instructions on this page as well as the VerifyError are irrelevant if you chose to download the RXTX source and do a manual compile and installation.


317
Sitemap