javax.comm, commapi, serial ports within eclipse [message #280202] |
Mon, 31 January 2005 17:58 |
Eclipse User |
|
|
|
Originally posted by: haggaigoldfarb.yahoo.com
I'm having trouble communicating with serial ports within eclipse. running
the same java code outside of eclipse works fine on my Linux Redhat
Enterprise 3.0
(through vmware)
I have used "add external jar" to import comm.jar. but I am not sure if
it's location is right. Does it have to be somewhere in eclipse/plugins ?
I am also not sure where javax.com.properties should reside, and is there
some particular way that I need to have eclipse refer to it.
I'm using IBM's java sdk which is located in opt/IBM.../ rather then
/usr/java
maybe that has something to do with it? But I know that the IBM's comm.jar
is working fine since I have no problem talking to the (USB) ports when
executing from the shell.
Is there some way I need to tell eclipse what port am I using? It does not
seem to recognize my default port "COM1" (which works outside java) it
won't recgnize even if I refer to it as "/dev/ttyUSB1".
Any help will be greatly appreciated.
Thank you
haggai
|
|
|
Powered by
FUDForum. Page generated in 0.25034 seconds