Classpath problem in libdbus-java package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus-java (Debian) |
Fix Released
|
Unknown
|
|||
dbus-java (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using libdbus-java version 2.7-1 and openjdk-6-jdk version 6b18-1.8.1-0ubuntu1 under lucid (10.04.1):
$ echo 'public class Foo {}' >Foo.java
$ /usr/lib/
warning: [path] bad path element "/usr/share/
warning: [path] bad path element "/usr/share/
2 warnings
The two warnings indicate a problem. (I haven't noticed that the functionality of the library is affected.)
Clearly the path elements listed are incorrect. It appears that the problem is in dbus.jar, because if that jar file is left out of the classpath then the warning goes away.
Related branches
tags: | added: patch |
Changed in dbus-java (Debian): | |
status: | Unknown → New |
Changed in dbus-java (Debian): | |
status: | New → Fix Released |
The problem is apparently that the rules file adds some jar dependencies to the package's Class-Path using absolute paths, whereas (e.g., according to http:// java.sun. com/developer/ Books/javaprogr amming/ JAR/basics/ manifest. html#download) the paths should be relative. I have attached a patch to fix the problem.