This content has been marked as final. Show 6 replies
it has the following options for Platforms:
Solaris 8&9- Sparc
Which one should i download? I've Windows Vista.
I got a USB to Serial DB9 converter today, and it's connected to COM7, but still i got the same error.
Sun no longer offer's the Windows platform binaries of javax.comm, however javax.comm 2.0.3 can be used for the Windows platform, by using it in conjunction with the Win32 implementation layer provided by the RxTx project. To use that, download javax.comm for the 'generic' platform (which provides the front-end javax.comm API only, without platform specific back-end implementations bundled). Then acquire the Windows binary implementation rxtx-2.0.7pre1 from http://www.rxtx.org."
jschell wrote:Thanx alot jschell :D Tht Solaris and Windows prob clicked! I revised all the installation procedure again, and installed Generic windows comm.jar file [for back end]and then the RxTxcomm.jar [for front end] and then in the configure build path [m Using Eclipse for my code] , i expanded the RxTxcomm.jar node, and added the path in the Native Library to:
Is it becuz i m using DELL laptop?Running solaris and not windows? The exception would certainly seem to suggest that you are running solaris.
and instead of
import javax.comm.CommPort; import javax.comm.CommPortIdentifier; import javax.comm.PortInUseException
i replaced this with:
Edited by: java-ized on Jan 5, 2010 3:49 PM
import java.util.Enumeration; import gnu.io.CommPortIdentifier; import gnu.io.CommPort; import gnu.io.PortInUseException;