Colin Harrington

Archive for November, 2010

Arduino + Ubuntu 10.10 Maverick Meerkat :: no rxtxSerial in java.library.path

by on Nov.19, 2010, under General, Ubuntu

I’m just getting into the Arduino, and have an awesome project that I’m working on with some friends.

Playing with a multi-color LED

Playing with a multi-color LED

I found the Arduino IDE in package manager, and went to install it
sudo apt-get install arduino

Or Via Synaptic:Arduino via Synaptic

When I went to run it died with the following exception:

A little googling turned up the this bug. It basically describes that there is an issue with Ubuntu 10.10 + sun-java not including the jni directory in the classpath. There are several solutions, but basically this comment sums it up the best:

1) don’t use sun-java but default-jre instead. This bug is actually a known bug in sun-java. (bug #325506)
2) add export LD_LIBRARY_PATH=/usr/lib/jni to your .bashrc, the .deskop file (in /usr/share/desktop), or on the command line before starting arduino
3) add the new package (instructions are above).

I opted for #2 so far…  The idea flow for potential projects are unending.  I should try some CI build Lights/lamps next :-)

3 Comments :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!