I've been trying to run sketches from a book "Building Wireless Sensor Networks" and also the webpage
http://code.google.com/p/xbee-api/wiki/Processing
which both use the Xbee-api.
I've tried to run in Processing 2.1.1 and 1.5.1 but keep having the same problem with the line
xbee.open("COM4", 9600);
breaking with the above error.
Has anyone any idea how to fix this?
I found one thread http://forum.processing.org/one/topic/classnotfoundexception-gnu-io-serialporteventlistener.html but the fix seems to be specific for a MacOS whereas I'm running in Windows 7 professional.