Results 1 to 4 of 4

Thread: java.comm?

  1. #1
    santa's Avatar
    santa is offline Senior Member
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    208
    Rep Power
    5

    Default java.comm?

    cant get the javax.comm to work =S it does not find any COM ports.
    Anyone got a guide thats updated? any info would be nice ... thanks =)

    Getting the following exceptions:
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljav a/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljav a/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver
    BUILD SUCCESSFUL (total time: 0 seconds)

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,375
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by santa View Post
    cant get the javax.comm to work =S it does not find any COM ports.
    Anyone got a guide thats updated? any info would be nice ... thanks =)

    Getting the following exceptions:
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljav a/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver
    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
    Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljav a/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver
    BUILD SUCCESSFUL (total time: 0 seconds)
    I guess you're trying to use Sun's communication API. Did you read the installation file that came with it? It tells you where to put the native code library (the .dll or .so) file and where to put the .properties file. That installation text wasn't written for no reason. I hope you've downloaded the correct version for your machine (Unix vs Windows).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    santa's Avatar
    santa is offline Senior Member
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    208
    Rep Power
    5

    Default

    yeah I think i downloaded for the wrong system because i dident get a .dll or a installation text? could you point me to the correct version for windows 7 ? (there was none in suns webpage)

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,375
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by santa View Post
    yeah I think i downloaded for the wrong system because i dident get a .dll or a installation text? could you point me to the correct version for windows 7 ? (there was none in suns webpage)
    AFAIK Sun/Oracle doesn't support a version for MS Windows anymore. You either have to install an old version or have a look at a free clone: http://www.rxtx.org

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. GIOVYNET Java Serial Comm Port Question
    By the_justin in forum New To Java
    Replies: 1
    Last Post: 11-30-2010, 12:13 PM
  2. How to use comm.jar and win32com.dll anywhere
    By m-i-l-s-o-n in forum New To Java
    Replies: 18
    Last Post: 09-04-2010, 06:03 PM
  3. Replies: 7
    Last Post: 07-12-2010, 04:24 PM
  4. java server-client comm
    By Manas Das in forum Networking
    Replies: 2
    Last Post: 01-28-2009, 04:58 PM
  5. HL7 Comm 0.8.5
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 07-23-2008, 02:07 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
  •