Ubuntu 10.04 - unable to install Arduino
- by Newbie
Hello!
At the moment, I try to install Arduino on my Ubuntu 10.04 (32 Bit) computer.
I downloaded the latest release at http://arduino.cc/en/Main/Software, cd'ed to the directory and unziped the package.
When I try to run ./arduino , I get following error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Base.main(Base.java:112)
Caused by: java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:231)
at processing.core.PApplet.<clinit>(Unknown Source)
... 1 more
Here is my java -version output:
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.5) (6b20-1.9.5-0ubuntu1~10.04.1)
OpenJDK Server VM (build 19.0-b09, mixed mode)
Any suggestions on this? I try to install arduino without the 'arduino' package.
I tried to install it with apt-get (sudo apt-get install arduino).
When I try to start arduino (using arduino command) will cause following error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Preferences.load(Preferences.java:553)
at processing.app.Preferences.load(Preferences.java:549)
at processing.app.Preferences.init(Preferences.java:142)
at processing.app.Base.main(Base.java:188)
Caused by: java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:231)
at processing.core.PApplet.<clinit>(PApplet.java:224)
... 4 more
Update:
I saw that I installed several versions of jre (sun and open). So I uninstalled the open jre.
Now, when calling arduino I get a new error:
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
at processing.app.Editor.populateSerialMenu(Editor.java:965)
at processing.app.Editor.buildToolsMenu(Editor.java:717)
at processing.app.Editor.buildMenuBar(Editor.java:502)
at processing.app.Editor.<init>(Editor.java:194)
at processing.app.Base.handleOpen(Base.java:698)
at processing.app.Base.handleOpen(Base.java:663)
at processing.app.Base.handleNew(Base.java:578)
at processing.app.Base.<init>(Base.java:318)
at processing.app.Base.main(Base.java:207)