Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-03-2011, 12:46 PM   #1
LQ Newbie
Registered: Aug 2011
Posts: 19

Rep: Reputation: Disabled
Java Code for Serial Port RXTX


I have installed the RXTX jars( but I get the import error cannot find symbol
symbol : class CommPort
location: package

I followed all the steps provided by that link . I'm trying on Ubuntu JVM -> ie /usr/lib/JVM/java-1.5.0-sun- .

pls help
Old 11-18-2011, 02:41 AM   #2
LQ Newbie
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
It`s look like your JVM does not know where the RXTXcomm.jar locates. Are you sure that you defined the CLASSPATH correctly?
Try make project with IDE(Eclipse, NetBeans, ...) and connect all necessary *.jar and *.so files for your project.
I think this way will solve your problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rxtx serial port event problems with usb adapter siriyu Programming 2 07-03-2009 03:17 AM
rxtx serial port event problems with usb adapter siriyu Linux - Software 0 03-30-2009 06:48 AM
rxtx serial port event problems with usb adapter siriyu Linux - Software 1 03-28-2009 06:19 AM
problem installing rxtx for serial port control rastavideo Linux - Software 1 01-17-2008 09:29 PM
help with serial port in java Diederick Programming 1 11-15-2005 04:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration