eclipse serial export do nothing

Hi, i'm writing a program to read and write to serial and i'm using eclipse ide. When i run application from within eclipse all is found well but if i export the application as executable jar, when i open it nothing appen. How can i do to open it? I see that if i comment this line: comPortList = port.list();

all is found and when i open the jar executable i see my application. But if i uncomment the port.list(); i cannot see any window open.

Is there a way to resolve?

thanks

Answers

Sign In or Register to comment.