Are you using sun-java? It appears that sun-java does not look where
it is supposed to for native libraries. This has been fixed in
openjdk, but since we don't have the source code for sun-java, it is
an open bug.
The work around is to set the LD_LIBRARY_PATH, you can put the
following in your .bashrc file
for JNI_PATH in /usr/lib/jni /usr/share/jni
do
if [ -d "$JNI_PATH" ]
then
if [ -z "$LD_LIBRARY_PATH" ]
then
export LD_LIBRARY_PATH="$JNI_PATH"
else
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JNI_PATH"
fi
done
I'll actually put this into the debian and ubuntu wrapeprs and see if
upstream arduino would be interested in using this in their wrapper as
well.
Thanks for the report: it sounds like bug #325506
https:/ /bugs.launchpad .net/ubuntu/ +source/ sun-java6/ +bug/325506
Are you using sun-java? It appears that sun-java does not look where
it is supposed to for native libraries. This has been fixed in
openjdk, but since we don't have the source code for sun-java, it is
an open bug.
The work around is to set the LD_LIBRARY_PATH, you can put the
following in your .bashrc file
for JNI_PATH in /usr/lib/jni /usr/share/jni PATH="$ JNI_PATH" PATH="$ LD_LIBRARY_ PATH:$JNI_ PATH"
do
if [ -d "$JNI_PATH" ]
then
if [ -z "$LD_LIBRARY_PATH" ]
then
export LD_LIBRARY_
else
export LD_LIBRARY_
fi
done
I'll actually put this into the debian and ubuntu wrapeprs and see if
upstream arduino would be interested in using this in their wrapper as
well.