I followed this (http://www.arduino.cc/playground/Interfacing/Java
) tutorial. I am using Linux, Ubuntu 11.04. The program compiled successfully and I have changed the PORT_NAMES to include "/dev/ttyACM0" which is my Arduino port.
However, when I run the program, it says:
c0dehunter@c0de-box2:~/Desktop$ java SerialTest
Experimental: JNI_OnLoad called.
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Could not find COM port.
Obviously the port cannot be found, but why? What am I doing wrong?