Hi all, sorry if I've posted this in the wrong section.
I just spent the last couple hours setting up the RXTX Java library for Eclipse using Arduino Playground - HomePage as reference. After setting it up I tried to use the sample Java code. I was unable to find any comm ports at all. I searched.. and searched.. and searched some more and no proposed solution, re-installation or reconfiguration was able to make the sample Java code find my Comm ports.
I finally got lucky, and stumbled upon a lonesome comment on StackOverflow that addressed the problem. In the sample Java code there are the following lines of code,
// the next line is for Raspberry Pi and
// gets us into the while loop and was suggested here was suggested http://www.raspberrypi.org/phpBB3/viewtopic.php?f=81&t=32186
System.setProperty("gnu.io.rxtx.SerialPorts", "/dev/ttyACM0");
That last line of code "System.setProperty..." was the source of my comm identification problems. After I commented it out, I had no problems at all finding my comm ports. If you search on Google, there are tons of people experiencing issues with identification of the comm ports. I suspect that many of them are experiencing the same issue as me. Was I just being bullheaded and failing to notice the obvious?
I think that line of code "System.setProperty..." should be commented out, or at least have a big warning that it is probably the source of your troubles if you can't find any comm ports. It was very frustrating trying to figure this issue out. It was even more frustrating when I finally figured out that the source of the problem was the sample code.
I'm on Windows 7 professional, 32 bit SP1.
Thoughts? Comments? Move my post to the correct forum?