I am using javax.comm package to write an application that sends and receives data using the serial port. My operating system is windows XP. When I run the code from NetBeans6.8 everything works perfectly but when I package it (Build it) and run it from the run prompt like this:
java -jar "C:\RS232InternetPC\dist\RS232InternetPC.jar"
The application fails to find any serial port although the same application works just fine when I run it from the NetBeans6.8. How can I solve this issue?
Any ideas comments are highly appreciated.