Hi friends
I am doing one program to list all the ports.I down loaded javax.comm-v2-win32.zip from
http://www.stanford.edu/~bsuter/javax.comm-v2-win32.zip I set class path with the help of link
http://www.stanford.edu/~bsuter/javax.comm-instructions-win32.txt When i run the below program i am getting the error of
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljava/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(Ljava/util/Vector;Ljava/lang/String I while loading driver com.sun.comm.SolarisDriverVerifying Comm Build Environment My Program is
[code]
public class VerifyCommBuild
{
public static void main(
String args[])
{
Enumeration ports;
System.out.println("Verifying Comm Build Environment");
try
{
ports = CommPortIdentifier.getPortIdentifiers();
if (ports == null)
{
System.out.println("No comm ports found!");
return;
}
System.out.println("Some ports appear to have been found, let's try to
enumerate them.");
while (ports.hasMoreElements())
{
System.out.println("Here is a port [" +
((CommPortIdentifier)ports.nextElement()).getName() + "]");
}
} catch (Exception e)
{
System.out.println("Failed to enumerate ports [" + e.getMessage() + "]");
e.printStackTrace();
}
System.out.println("Complete.");
}
}
[\code]
pls help me to sort out this.I tried in many ways using google but failed
thanks
priya