Ubuntu

RXTX library not visible to any JRE

Reported by David A. Mellis on 2009-05-24
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Arduino
Unknown
Unknown
rxtx (Ubuntu)
Wishlist
Unassigned

Bug Description

On 9.04, the librxtx-java package (version 2.1.7r2-4) installs in a way / location that's not visible to Sun's JRE (sun-java5-bin version 1.5.0-18-1). That is, I need to manually add /usr/lib to my LD_LIBRARY_PATH and /usr/share/java/RXTXcomm.jar to my classpath in order to use RXTX. (I installed RXTX after the JRE.) Is it possible to install the library in a way that makes it automatically visible to the Sun JRE?

Changed in rxtx (Ubuntu):
assignee: nobody → Alessio Igor Bogani (abogani)
importance: Undecided → Low
status: New → Confirmed
Changed in rxtx (Ubuntu):
assignee: Alessio Igor Bogani (abogani) → nobody
Lars J. Nielsen (ebidk) wrote :

Ubuntu 9.10 with wih sun-java6-jre 6-15-1 and librxtx-java 2.1.7r2-4 also has this issue.

Changed in rxtx (Ubuntu):
importance: Low → Wishlist
summary: - RXTX library not visible to Sun JRE 5
+ RXTX library not visible to any JRE
Scott Howard (showard314) wrote :

Thanks for the report. The RXTX library is installed in the correct location, per Debian policy [1]. The bug is actually in the JRE/JDKs for not looking in the right place. See bug #325506. I'm marking this bug a duplicate of that one.

This bug has been fixed in openjdk-6-jre :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517338

I am using rxtx and openjdk-6-jre and it is fixed in lucid.

[1] http://www.debian.org/doc/packaging-manuals/java-policy/x104.html

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.