I think this issue has popped up again. Either it is a problem in the 
documentation, or a problem with update-java-alternatives binary itself.
This is the output I get when using that command on Gutsy. 

[EMAIL PROTECTED]:~$ sudo update-java-alternatives --set --jre java-6-sun
usage: update-java-alternatives [--jre] [--plugin] [ -t|--test|-v|--verbose]
           -l|--list [<jname>]
           -s|--set <jname>
           -a|--auto
           -h|-?|--help

Whereas the command for JDK works perfectly -

[EMAIL PROTECTED]:~$ sudo update-java-alternatives --set java-6-sun
Using `/usr/lib/jvm/java-6-sun/bin/appletviewer' to provide `appletviewer'.
Using `/usr/lib/jvm/java-6-sun/bin/apt' to provide `apt'.
...

Here is some more info -

[EMAIL PROTECTED]:~$ apt-cache policy sun-java6-jre
sun-java6-jre:
  Installed: 6-03-0ubuntu2
  Candidate: 6-03-0ubuntu2

Please tell me if I need to provide any more info. Thanks.

-- 
Problem in sun-java6-jdk documentation
https://bugs.launchpad.net/bugs/127053
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to