USING ARDUINO WITH JAVA ON ECLIPSE IDE NOT WORKING

Hello,

I followed the step to step information about how to make an arduino work with my java eclipse IDE. I downloaded the RXTX for my Windows X64 Computer. Copied the files to java lib and ext as instructed. Connected the Arduino, but it keeps telling me:

"Could not find COM port"

Now I know my Port is COM13 but it wont respond. I noticed that the portEnum below does not contain elements because the program does not access the loop at all...

Enumeration portEnum = CommPortIdentifier.getPortIdentifiers();
		
		//First, Find an instance of serial port as set in PORT_NAMES.
		while (portEnum.hasMoreElements()) {
			CommPortIdentifier currPortId = (CommPortIdentifier) portEnum.nextElement();
			for (String portName : PORT_NAMES) {
				System.out.println(portName);
				if (currPortId.getName().equals(portName)) {
					portId = currPortId;
					break;
				}
			}
		}

The portEnum indicates it does not contain any elements thus, it is not entering the loop. Can Someone tell me what I am doing wrong?

I need the arduino to trigger events and deliver data.

Versions? Of Arduino and the Eclipse and the plugin. It may be as simple as going to the device manager to see which com port the Arduino is on and then setting that com port in the Arduino tab in the project properties. Of it could be as complex as versions that don't jive together.

Can you build to a hex file? What happens if you call avrdude from the command line?