I am having a problem when I try to use my Arduino in my java application when I export it to a runnable jar file. When I run the application on the IDE it runs just fine, the exported jar on the same machine too, but when I run it on a different machine I get a the
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path.
I am sure that I have added the RXTXcomm.jar and the rxtxserial.dll to the build path as shown in the picture below build path
In the other machines where I put my jars, I copy mentioned two files in the exact same location but the error persists.
You have to copy the contents of the RXTXcomm.jar into the exported JAR-File.
Place the dlls into jre_home/bin/ or in your programs main folder.