Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have recently discovered that there are interfaces to programme Arduino with Java. After some research I'm now somehow confused about:

RXTX it's an API that provide communication with Windows Serial or Parallel ports, and JArduino is a class that provide communication with Arduino? Is that correct?

I have tried the implementation of the RXTX API, and I got the error below:

"gnu.io.rxtx.properties has not been detected.

There is no consistant means of detecting ports on this operating System. It is necessary to indicate which ports are valid on this system before proper port enumeration can happen. Please check the ports that are valid on this system and select Save"

After some more digging (http://www.oracle.com/technetwork/java/index-jsp-141752.html) I found that "Implementations of the API (Java Communications 3.0 API) are currently available for Solaris SPARC, Solaris x86, and Linux x86. ". What happens for Windows?

Should I use the download at "http://www.java2s.com/Code/Jar/c/Downloadcomm20jar.htm" to solve my error?

Thanks,

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.