I'm trying to have my arduino board communicate with a Java program via the serial port. I'm using the RXTX library as shown at Arduino Playground - Java, but the program prints "Could not find COM port" and exits. I did some more looking around and saw that the CommPortIdentifier.getPortIdentifiers() method returns an empty enumeration. I've tried the solutions currently on stack overflow and other websites with no luck.
Board is an Arduino Uno. Code is as follows. This works when I run on a friend's computer but not when I run it on my own. The RXTX library was installed in the same way and the same location on both computers.