Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / May 2004

Tip: Looking for answers? Try searching our database.

RXTX problems

Thread view: 
AndreaDisp - 17 May 2004 15:30 GMT
Hi at all!!
When I use the RXTX classes with the javax.comm the program generates the
follow exception:
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)

The error is created when the program runs the function:
"serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);";
Could be "SimpleReadApp" the cause of the error? On the windows I have no
problem!! If  "SimpleReadApp"
is the cause, what can I write to work on linux?

"serialPort = (SerialPort) portId.open("?", 2000);";
Thank you for your help!
AndreaDisp - 18 May 2004 14:04 GMT
Help!!!!!!!!!!!!!!!!!
> Hi at all!!
> When I use the RXTX classes with the javax.comm the program generates the
[quoted text clipped - 15 lines]
> "serialPort = (SerialPort) portId.open("?", 2000);";
> Thank you for your help!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.