Please add optional dependency on java2-runtime

Bug #81431 reported by Michael Biebl
12
Affects Status Importance Assigned to Milestone
bootchart (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: bootchart

Currently bootchart has a hard dependency on java-gcj-compat.
TTBOMK, bootchart also works fine with other JREs, like suns, which I already have installed.

Please change the dependency on java-gcj-compat to java-gcj-compat | java2-runtime (or java1-runtime if that is sufficient).

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Needs confirming

Changed in bootchart:
importance: Undecided → Wishlist
Revision history for this message
Michael Biebl (mbiebl) wrote :

It definitely works with sun-java5-bin and sun-java6-bin as my own tests showed.
Besides from changing the Depends in debian/control I also had to fix /etc/init.d/stop-bootchart though.
It contained an absolute path to /usr/lib/jvm/java-gcj/bin/java.
After changing that to /usr/bin/java, I could easily switch between different alternatives without problems.

Revision history for this message
Matti Lindell (mlind) wrote :

Debian has java-runtime | java2-runtime as alternative dependencies for bootchart-view. Works very well with Sun's JVM.

Matti Lindell (mlind)
Changed in bootchart:
status: Unconfirmed → Confirmed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Thanks for the confirmation, have made the change to the init script and adjusted the dependencies -- should build with the Sun JDK as well

Changed in bootchart:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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