Current position:  Home > Default > No Port listed (URGENT)

No Port listed (URGENT)

Time:November 30
I am doing a program that read from serial port and send the data to the client by using UDP.
I am using this program to test the port in my PC:
import javax.comm.*;
import java.util.*;
public class PortLister {
public static void main(String[] args) {
Enumeration e = CommPortIdentifier.getPortIdentifiers();
Unfortunately, there output is "FALSE" instead of "TRUE"...i tried similar program on others PC and it works well....what wrong with my PC ??
thanks for ur help...
actually, i had solve the problem by copy the commapi file into jre folder...before that, i only copy the commapi file to the jdk bin and lib but not for the jre's bin and jre's lib..
thanks again...