arduino / librxtx-java issue.

Scott Howard showard314 at gmail.com
Sat Oct 30 14:37:48 UTC 2010


Hello,

Thanks for the report. In the future you can use the "reportbug" tool
from the command line. It will send a copy of the report to the debian
bug tracking system so we can keep track of the bugs and responses
there.

On Sat, Oct 30, 2010 at 2:46 AM, Fred Cooke <fred.cooke at gmail.com> wrote:
> Debian Unstable apt-get update'd today, arduino apt-get installed today,
> versions after the error.
>
> fred at roadeee [19:18:26]:sketch_WheelDecoder$ arduino sketch_WheelDecoder.pde
> java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown
> while loading gnu.io.RXTXCommDriver


This is a known bug in sun-java. sun-java violates debian java policy
[1] by not looking at /usr/lib/jni [2]. This bug has been labelled
"won't fix" since we can't modify the binaries. This bug is fixed in
open-jdk [3]. As a work around, arduino sets the LD_LIBRARY_PATH in
versions 0021+dfsg-2 (experimental) and greater. Please use either the
arduino package from experimental or default-jvm (open-jdk6).



[1] http://www.debian.org/doc/packaging-manuals/java-policy/x104.html
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382686
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517338



More information about the pkg-java-maintainers mailing list