Jabref: flawed dependencies force installation of OpenJDK java
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jabref (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Jabref (2.7~beta1+ds-5) requires Java, the package depends on openjdk-6-jre or sun-java6-jre. The latter is, however, not available anymore as a package in Ubuntu 12.04 LTS.
Sun/Oracle Java may be installed via apt-get (see package update-sun-jre from http://
IMHO, the simplest solution would be replacing "sun-java6-jre" by "update-sun-jre", which is however from an external source.
A better solution would be a dependency to a virtual package, which is satisfied when _any_ Java installation is available.
A similar issue has been reported in Bug #712132. Unlike pdftk, jabref does not link to a specific Java library. It works with Sun Java as well.
Actually, the dependeny list of jabref appears pretty long to me. Taking into account that the file jabref.jar file and a simple wrapper script do the job:
<code> es/java -jar /usr/share/ java/jabref. jar $@
/etc/alternativ
</code>