FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 12-04-2011, 10:37 AM
Niels Thykier
 
Default 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




--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EDB5B75.9060205@thykier.net">http://lists.debian.org/4EDB5B75.9060205@thykier.net
 
Old 12-04-2011, 01:09 PM
Emmanuel Charpentier
 
Default Bug#650928: java-common: A very recent (Dec 2011) change somewhere in java hosed various aspects of java

Thanks for this very prompt answer.

Okay, there seems to be an issue on the origin of this problem...

I can confirm that this is a *very* recent issue (another machine, which
had had an update about 2-3 days ago, does not exhibit this problem ; on
my problematic machines, the problem did not appear on Friday Dec 2(last
time I remember having used Zotero on at least one of these machines).
Would a list of the current possible updates to this machine help you
find the problem ? I tried that (at-get dist-upgrade -u -f -s | less),
but found nothing obvious to my eyes...

I can also confirm that the problem might be peculiar to the particular
"Zotero OpenOffice integration" plugin/tool : on at least one of my
problematic machines, Zotero Standalone is still able to receive
additions from Chrome...

Can either of you suggest a workaround or temporary fix ? I am not a
systems administrator, just a bloody dentist/biostatistician (yes...)
that *uses* a computer in his everyday problem solving and *writing*.
This latter is a very important part of his work...

Emmanuel Charpentier

Le dimanche 04 décembre 2011 à 13:42 +0100, Matthias Klose a écrit :
> reassign 650928 java-common
> thanks
>
> see update-java-alternatives(1). if the plugin is not installed, don't try to
> update the alternatives.
>
> feel free to rewrite the tool to make it more user friendly.





--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1323007777.5993.17.camel@portable-ec.bacbuc.dyndns.org">http://lists.debian.org/1323007777.5993.17.camel@portable-ec.bacbuc.dyndns.org
 

Thread Tools




All times are GMT. The time now is 02:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org