I connected the raspberry pi and Arduino via direct usb communication according to this tutorial:
http://blog.oscarliang.net/connect-rasp ... usb-cable/
In this tutorial you just need to setup Arduino IDE on the Raspberry and by using python you can import a (serial library) and make them talking to each other.
Now I want to use the same type of connection but this time I want to control arduino from Java ME Embedded 8 installed on my PC, The IDE I am using for java is NetBeans 8 (last version) that's connected to raspberry pi by using java emulator 8.
I couldn't find (so far) any tutorial of how you can do such thing by java. I tried the code here
http://playground.arduino.cc/interfacing/java
but it's not working, when I use the RXTX library raspberry pi throws an exception:
TooManyListenerException.
When I use the Ardulink library, the Raspberry throws an exception:
UnsupportedClassVersionException.
please any help!!