I'm facing the same problem under Linux (Ubuntu 6.10) after following the installation process given at
http://insitu.lri.fr/~labrune/web.jb.wiki/doku.php?id=arduino_on_ubuntu_linuxwhen I run arduino, I get in my console:
java.lang.NoClassDefFoundError: javax/comm/CommDriver thrown while loading gnu.io.RXTXCommDriver
Experimental: JNI_OnLoad called.
java.lang.NoClassDefFoundError: javax/comm/CommDriver thrown while loading gnu.io.RXTXCommDriverI've tried everything to make it work, ie I now have about 5 RXTXcomm.jar in my system, due tu the stange installation of Java Ubuntu does
I use java 1.5.0, at least it is what "java -version" tells me, because I seem to have also java 1.4.7 on my computer.
If anybody could help me configure RXTX installation properly and modify the CLASSPATH, and anything else that could make Arduino work ...
I got today my own Arduino card, and I am impatient to use it !!!
NB: this is my current RXTX installation for java 1.5
/usr/lib/jvm/java-1.5.0-sun/jre/lib/
librxtxParallel.so, librxtxSerial.so, javax.comm.properties
/usr/lib/jvm/java-1.5.0-sun/jre/lib/ext
RXTXcomm.jar
moving librxtxParallel.so and librxtxSerial.so to i386/ transforms the message into:
java.lang.NoClassDefFoundError: javax/comm/CommDriver thrown while loading gnu.io.RXTXCommDriver
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb7f1cbf1, pid=15617, tid=3084609200
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
# Problematic frame:
# C [ld-linux.so.2+0x9bf1]
#
# An error report file with more information is saved as hs_err_pid15617.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
I don't know what to think of it ...