Processing & Ubuntu AMD 64

Hi everyone,

I'm trying to use Processing in order to interface my new Arduino DuemilaNove.

I had downloaded Arduino 0012 software compatible with AMD 54 (actually, I'm using 0015 "hardware" directory instead of the 0012 one, because only the first supports my board), Processing 1.0.3 of Linux, but there is a problem: a lot of code examples of processing make crash on my screen (as random textures everywhere) and I need to reboot pushing the power button.

I read on the troubleshooting/#linux and I try to change the java directory with a just downloaded java JDK 6 Update 14. I changed the old "java" directory with the new one, but the problem persist.

Note that there are also code examples that work without problem: for instance, 3D->Camera->MoveEye.

When I open the Processing software, the terminal output does not write errors, while before changing the "java" directory, some errors was written (I remember anything about a canberra lib).

What should I do?

Thank you.


Today I try to run ASCII Table code. When I open the Serial Monitor in Arduino software, the terminal report this error:

# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007f7eace7f69d, pid=4465, tid=140182033484112
# Java VM: OpenJDK 64-Bit Server VM (14.0-b08 mixed mode linux-amd64 )
# Distribution: Ubuntu 9.04, package 6b14-1.4.1-0ubuntu10
# Problematic frame:
# C  []  read_byte_array+0x3d
# An error report file with more information is saved as:
# /home/gio/arduino-0012/hs_err_pid4465.log
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

It seems to be a problem with Java...

It's sort of a problem with java, it's the serial library supplied with the IDE that isn't up to date enough to work with jaunty, you need to go the rxtx website and get a newer version then overwrite the original file. I'm being a bit vague because I had this problem last week on jaunty x64 and solved it but since then I've removed it because I couldn't get skype to work properly with decent audio quality

As I wasn't allowed to post a link in my first post I think the file you need can be found here

Your problem is also disscussed in this thread