Sunday, February 3, 2008

Java Comm Problem

Java Communication problem on Windows
Almost Java Comm on Window can not open comport
solution to fix this problem is add this code
String driverName = "com.sun.comm.Win32Driver"; // or get as a JNLP property
CommDriver commDriver = (CommDriver)Class.forName(driverName).newInstance();
commDriver.initialize();
or see http://en.wikibooks.org/wiki/Serial_Programming:Serial_Java

No comments:

Post a Comment