Been playing with processing and the arduino in the last couple of weeks. When setting up Processing I ran into the notorious RXTX mismatch error - similar to
RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2
To solve this, I did some scouting around the web and found a few clues but here's a detailed approach on how to fix it on mac osx 10.7.
So the issue seems to be with the libraries that Arduino and Processing use, the simplest way to fix this is through the following steps...
Copy the 'librxtxSerial.jnilib' and 'RXTXcomm.jar' from your arduino/resources/java/ folder into the processing/resources/java/ folder. To do this we need to locate the programs in the applications folder within finder then ctrl + click > 'S
how Package Contents'.
The next stage is to then copy these into our library/java/extensions folder. To do this we need to make the library folder visible bu selecting
finder > go > computer > macintosh hd > library > java > extensions.
Restart processing and you should be good to go!