Java + arduino not connecting -


i'm working on connecting javafx application arduino , have run dozens of errors. there bad tutorials online connecting these platforms. on mac , have tried 3 different solutions no avail. i'm trying following simple tutorial work: http://www.drdobbs.com/jvm/control-an-arduino-from-java/240163864

i keep getting following issue

rxtx warning:  removing stale lock file. /var/lock/lk.072.031.048 gnu.io.portinuseexception: unknown application @ gnu.io.commportidentifier.open(commportidentifier.java:354) @ com.musicplayer.jml.serialtest.initialize(serialtest.java:53) @ com.musicplayer.jml.serialtest.main(serialtest.java:143) 

i have /var/lock , have cleared folder still doesn't work, i've tried giving 777 permissions , go+rwx nothing works. if have suggestions please let me know!

thanks!

i not know answer have 2 things say:

  • the stale lock file warning

  • try using different port.

hope helped. :)


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -