On Mon, Sep 22, 2014 at 4:49 PM, Paul Stoffregen <[email protected]> wrote:
> On 09/22/2014 04:34 PM, Denis Heidtmann wrote:
>>
>> If by Arduino you mean the Arduino IDE it is 1.0. It is what was(is?)
>> provided in the Ubuntu repositories. I understand that various
>> versions can exist on the same machine, although I admit I do not know
>> the details of installation outside of the package system.
>
>
> Arduino 1.0 is almost 3 years old. It was released on Nov 30, 2011.
>
> You should uninstall your distro's old, stale copy.
>
> Simply download the latest non-beta Arduino 1.0.6 directly from here:
>
> http://arduino.cc/en/Main/Software#toc2
>
> It's just a tarball, so extra it anywhere convenient, and then just run it.
> You'll be a lot better off than using a 3-year old version that's so far in
> the past nobody bothers to test and support its bugs that have long since
> been fixed.
>
Thanks, Paul. I do not know why Ubuntu does not provide more recent
stuff in the packages. Perhaps they are too busy changing the user
interface to look good on a 2" screen.
I did as you suggested, but I must be missing something. The
extracted files contain only one which is executable; that is a sh
script, which must require some editing. It is here, followed by the
errors generated. I need more hand-holding, I am afraid.
#!/bin/sh
APPDIR="$(dirname -- "$(readlink -f -- "${0}")" )"
cd "$APPDIR"
for LIB in \
java/lib/rt.jar \
java/lib/tools.jar \
lib/*.jar \
;
do
CLASSPATH="${CLASSPATH}:${LIB}"
done
export CLASSPATH
LD_LIBRARY_PATH=`pwd`/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
export PATH="${APPDIR}/java/bin:${PATH}"
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
processing.app.Base "$@"
Errors:
java.lang.UnsatisfiedLinkError:
/usr/local/src/arduino-1.0.6/lib/librxtxSerial.so:
/usr/local/src/arduino-1.0.6/lib/librxtxSerial.so: wrong ELF class:
ELFCLASS32 (Possible cause: architecture word width mismatch) thrown
while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/src/arduino-1.0.6/lib/librxtxSerial.so:
/usr/local/src/arduino-1.0.6/lib/librxtxSerial.so: wrong ELF class:
ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.loadLibrary0(Runtime.java:844)
at java.lang.System.loadLibrary(System.java:1051)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at processing.app.Editor.populateSerialMenu(Editor.java:964)
at processing.app.Editor.buildToolsMenu(Editor.java:693)
at processing.app.Editor.buildMenuBar(Editor.java:478)
at processing.app.Editor.<init>(Editor.java:205)
at processing.app.Base.handleOpen(Base.java:709)
at processing.app.Base.handleOpen(Base.java:674)
at processing.app.Base.handleNew(Base.java:570)
at processing.app.Base.<init>(Base.java:310)
at processing.app.Base.main(Base.java:199)
_______________________________________________
dorkbotpdx-blabber mailing list
[email protected]
http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber