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

Bug#409302: update-java-alternatives is broken



Package: java-common
Version: 0.25
Severity: grave

After migrating from java 1.5 to java6, my jre was not
working anymore in my browser, complaining it could not find the java
binary. After following the symlinks, I found out that /etc/alternatives
was still pointing to java 1.5.
/usr/share/doc/sun-java6-bin/README.alternatives said that I should type
(this should probably been done automagically during upgrade and I
guess it has been designed to be this way, but it seems flawed)
:

update-java-alternatives --jre java-6-sun

But the script does not work (it only prints the help messages).


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

-- no debconf information




Reply to: