[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#650928: java-common: A very recent (Dec 2011) change somewhere in java hosed various aspects of java



reassign 650928 openjdk-6-jre-headless
thanks


On 2011-12-04 12:18, Emmanuel Charpentier wrote:
> Package: java-common
> Version: 0.45
> Severity: important
> 
> Dear Maintainer,
> Symptoms (end-user point of view) :
> 

Hi,

Thanks for the report.

> [...]
> 
> 2) one cannot switch java installations with update-alternatives-java :
> root@eee-ec:/home/charpent# update-java-alternatives --list
> java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386
> java-6-sun 63 /usr/lib/jvm/java-6-sun
> root@eee-ec:/home/charpent# update-java-alternatives --set
> java-1.6.0-openjdk-i386
> update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
> update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
> root@eee-ec:/home/charpent# update-java-alternatives --set java-6-sun
> update-alternatives: erreur: pas d'alternatives pour -javaplugin.so.
> 

The issue appears to be in openjdk-6-jre-headless, which has a list of
alternatives openjdk-6 provides.  It says it provides an alternative for
"-javaplugin.so", however said alternative does not exist.  I have
therefore reassigned it to openjdk-6-jre-headless.

On my system the line looks something like this:

plugin -javaplugin.so $JVM/jre/lib/$ARCH/IcedTeaPlugin.so

($JVM and $ARCH are short hands).

You can work around this issue by using /usr/sbin/update-alternatives
for now.  Presumably this should be what you are looking for:

/usr/sbin/update-alternatives --config  mozilla-javaplugin.so

Though if that does not work, you may have to walk through all possible
alternatives to find the right group to set.

/usr/sbin/update-alternatives --all


> [...]
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing-proposed-updates
>   APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
> Architecture: i386 (i686)
> 
> Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
> Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> java-common depends on no packages.
> 
> java-common recommends no packages.
> 
> Versions of packages java-common suggests:
> ii  default-jre  <none>
> ii  equivs       2.0.9 
> 
> -- no debconf information
> 
> 
> 

~Niels




Reply to: