then export DYLD_LIBRARY_PATH=librxtxSerial.jnilib Is that what you meant by "Post the class path you are using"?įor the java file source code I just copy it then paste to the BBEdit exactly as it is in the tutorial except the port for Mac, mine is /dev/cu. SimpleRead.java opens a serial port and creates a thread for asynchronously reading data through an event callback technique. I am not sure how muh more info you need.Īs I said before, I followed the provided link step by step, downloaded librxtxSerial.jnilib and RXTXcomm.jar then sudo cp them to /Library/Java/Extensions.
0 Comments
Leave a Reply. |