If you try to run the Arduino IDE and the RXTX Java library on MacOS Lion and you are hitting a “Serial Port Already in Use” error, try:
$ sudo mkdir /var/lock $ sudo chmod 777 /var/lock
That should hopefully allow you to run them both (though only one at a time!)
If you want interface your Arduino with the Java, see the Arduino documentation.
hi, worked like a charm. just threw together a simple apple script to give none-terminal users a chance to fix it
see here https://gist.github.com/1419677
thanks for the fix!
Oh, just tried it. Very nice also
Worked great, however I am very curious to know why.
Do you know any of the technical details?
From what I can discern: permission were changed. (?)
Sorry Scott, I’m don’t know why