Serial Port Ethernet
i need some help regarding serial port/ethernet access in linux using java.I am new to JAVA and Linux and have not been able to make Sun's Comm api or rxtx work.Sir i am supposed to create a Java GUI to handle data serially coming via instruments such as magenetometer,GPS transmitters etc.Done with the GUI part but serial port access seems to be a problem.I tried out Giovynet serial port libraries which worked in windows but not in Linux.Even in windows i was not able to save the information properly(using Giovynet serial port) in a text file which is again a requirement. still not able to run properly even after following instructions fot the API's.
Here is the error list i get:
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.comm.SunrayInfo.isSessionActive()Z
at com.sun.comm.SunrayInfo.isSessionActive(Native Method)
at com.sun.comm.Portmapping.registerCommPorts(Portmap ping.java:155)
at com.sun.comm.Portmapping.refreshPortDatabase(Portm apping.java:100)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIde ntifier.java:138)
.Looking forward to your support and guidance both regarding serial port as well as ethernet,tcp/ip
I have just suggested some links in the following post:
Looking at your messages, it appears that you are missing a non-Java code library. Look at the documentation and make sure everything is installed/configured properly.