6 Replies Latest reply on Jan 5, 2010 3:49 PM by 843810

    Error loading SolarisSerial: java.lang.UnsatisfiedLinkError:

      Hello All, i am having problems installin the java comm api in Eclipse. I added the comm.jar file from the comm api folder in the build path. and i added the javax.comm.properties file in:

      C:\Program Files\Java\jre1.6.0_01\lib

      but when i compile it and run, i get the following error:

      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(Portmapping.java:155)
           at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)
           at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
           at ListOpenPorts.<init>(ListOpenPorts.java:17)
           at ListOpenPorts.main(ListOpenPorts.java:49)

      where did i go wrong? :/