Arduino + Ubuntu 10.10 Maverick Meerkat :: no rxtxSerial in java.library.path
by Colin 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
I found the Arduino IDE in package manager, and went to install it
sudo apt-get install arduino
Or 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
2 Comments for this entry
1 Trackback or Pingback for this entry
-
Running MPIDE (ChipKIT’s Arduino IDE remake) on 64bit Ubuntu - Colin Harrington
August 14th, 2011 on 2:41 pm[...] 2) Getting librxtx-java and other jni items loadable via the LD_LIBRARY_PATH or CLASSPATH, which I wrote a post about. [...]
December 4th, 2010 on 5:20 pm
Thanks a lot. It helps.
July 25th, 2011 on 8:55 am
I follow your instruction (the second option). It works!
Thank you and good luck for you!
Cheers!