arduino fails to start with UnsatisfiedLinkError

Bug #689108 reported by David Given on 2010-12-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
arduino (Ubuntu)

Bug Description

Binary package hint: arduino

After installing arduino with 'aptitude install arduino', it fails to start:

dg@hilfy:~/shared/workspace/MyMidpssh$ arduino
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading
Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
 at java.lang.ClassLoader.loadLibrary(
 at java.lang.Runtime.loadLibrary0(
 at java.lang.System.loadLibrary(

After this it hangs until I ^C it.

Sometimes it prompts me for the sketch directory first, but after selecting a directory it hangs with the above stack trace.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: arduino 0018+dfsg-4
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic
Uname: Linux 2.6.35-23-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Dec 11 23:24:29 2010
PackageArchitecture: all
 PATH=(custom, user)
SourcePackage: arduino

David Given (david.given) wrote :
Scott Howard (showard314) wrote :

Thanks for the report. This is a known bug in sun-java that cannot be fixed because sun does not give us permission to edit their package to fix it.

1) don't use sun-java but use 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 below):
sudo add-apt-repository ppa:showard314/ppa
sudo apt-get update
sudo apt-get install arduino

This is a duplicate of bug #664309, which is a duplicate of bug #325506

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers