openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #07533
[Bug 593172] Re: eclipse crashes on loading on serial terminal
The plugin works as expected, according to Martin and my own tests. It
will automatically pick up a system RXTX if Eclipse finds one.
Unfortunately, Eclipse seems to be hitting a little problem with
OpenJDK's extension path: It contains /usr/java/packages/lib/ext -
hardcoded into
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so - but that is
not used on Debian/Ubuntu. Any Java extensions installed via the package
manager are put into /usr/share/java. I don't know if this is intended
or not.
As a temporary workaround, I found it to be easiest and least intrusive
to just symlink RXTXcomm.jar to /usr/java/packages/lib/ext. Perhaps
there is a way to smash it into the Eclipse classpath, but I haven't
found a proper way to do so.
Paste this into your terminal, restart Eclipse and you're good to go:
sudo mkdir -p /usr/java/packages/lib/ext
sudo ln -s /usr/share/java/RXTXcomm.jar /usr/java/packages/lib/ext/
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/593172
Title:
eclipse crashes on loading on serial terminal
Status in “openjdk-6” package in Ubuntu:
New
Bug description:
When I open a connection to a USB serial port using the RXTX
(http://rxtx.qbang.org/eclipse) and the Target Manager Terminal
plugins, Eclipse consistently crashes with no error messages. The
follow log is generated:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f4dbd46524d, pid=4074, tid=139971864680208
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8
# Distribution: Ubuntu lucid (development branch), package 6b18-1.8-0ubuntu1
# Problematic frame:
# C [librxtxSerial.so+0x724d] read_byte_array+0x3d
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Note, I have not had the same problem on 32bit Karmic on a different machine. I'm able to connect with no problems using ckermit.
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/593172/+subscriptions
References