Bug#473110: ecj-bootstrap: After latest sun-java6 update on 2008-03-27, javac reverts back to ecj compiler

Weiqi Gao weiqigao at speakeasy.net
Fri Mar 28 12:24:17 UTC 2008

Package: ecj-bootstrap
Version: 3.2.1-3
Severity: normal

-- System Information:
Debian Release: 4.0
   APT prefers stable
   APT policy: (700, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ecj-bootstrap depends on:
ii  gij-4.1                       4.1.1-20   The GNU Java bytecode 
ii  java-common                   0.25       Base of all Java packages
ii  libgcj7-jar                   4.1.1-20   Java runtime library for 
use with

Versions of packages ecj-bootstrap recommends:
pn  ecj-bootstrap-gcj             <none>     (no description available)

-- no debconf information

For the last two automatic updates of sun-java6 (to _04 and _05), javac
reverted back to the ecj-bootstrap version.

I have to manually run /usr/sbin/galternatives to reset the "javac"
command to use the sun-java6 version.

The problem seems to be caused by the priority of the
/usr/bin/ecj-bootstrap option.  On my system it is 143, while the
sun-java6 version has priority 63 and the sun-java5 version has priority

More information about the pkg-java-maintainers mailing list