Results 1 to 3 of 3
  1. #1
    nipunreddevil is offline Member
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Default 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)
    at PortChooser.populate(CommPortOpen.java:304)
    at PortChooser.<init>(CommPortOpen.java:254)
    at PortChooser.main(CommPortOpen.java:241)


    .Looking forward to your support and guidance both regarding serial port as well as ethernet,tcp/ip
    Regards,
    Nipun Batra

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default

    I have just suggested some links in the following post:

    throw java to connect to serial port and Send AT Commands to dial up modem

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    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.

Similar Threads

  1. Serial Port
    By radhika in forum New To Java
    Replies: 5
    Last Post: 11-06-2009, 11:40 AM
  2. Accessing Serial port using JDK 1.6
    By hasani6leap in forum Advanced Java
    Replies: 5
    Last Post: 01-24-2009, 04:23 AM
  3. rs232 serial port on xp
    By simo_mon in forum New To Java
    Replies: 0
    Last Post: 12-04-2008, 12:25 PM
  4. Access Serial port
    By hasani6leap in forum Advanced Java
    Replies: 0
    Last Post: 02-12-2008, 10:45 AM
  5. serial port
    By musiigedeo in forum Advanced Java
    Replies: 0
    Last Post: 07-23-2007, 05:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •