Ant Dependency on OpenJDK-6-jre
Bug #303348 reported by
Thangalin
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ant (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ant
Hi,
The ant should not have a tight dependency on openjdk-6-jre.
If Java is already installed (e.g., Sun's Java Development Kit), there is no reason to install the openjdk-6-jre when ant is installed.
Otherwise two Java Virtual Machines will be installed on the same machine, which is redundant in many ways.
Please remove the tight dependency. Instead, if no version of Java can be found on the machine, then install OpenJDK. Otherwise, don't.
To post a comment you must log in.
ant 1.7.1-0ubuntu1 has a "recommend" dependency on "default-jdk | java-compiler | java-sdk".
With the new policy in 8.10 of installing recommends by default, that might cause the installation of openjdk-6-jre even when another JRE is already installed. Or maybe the previously installed jre package did not provide "java-sdk".
Which JRE package did you have installed before installing ant?