How can I list the com ports using java in imx28 developement kit?

Hi all,
I am trying to list all the com port in the imx28 development using java application. I am using rxtx libraries for this and the application runs without any error but it does not list any of the ports. So could you please guide me how to do this if any one has encountered this issue.

thank you.