win32comm.dll im 'bin' Verzeichnis der JRE?
Wenn ja, probier mal folgendes Programm aus:
Code:
import javax.comm.*;
import java.util.Enumeration;
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.");
}
}
und schreib das Ergebnis hierher.
mfg
entropy