Problem in sun-java6-jdk documentation

Bug #127053 reported by Rohan Dhruva
16
Affects Status Importance Assigned to Milestone
sun-java6 (Debian)
Fix Released
Unknown
sun-java6 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: sun-java6-jdk

Hi,

I found a problem in the file - /usr/share/doc/sun-java6-jdk/README.alternatives
On line 12, the file says - update-java-alternatives --jre java-6-sun - this command produces the help message when tried in the terminal.

The command on line 12 needs to be modified to "update-java-alternatives --set --jre java-6-sun" to have the intended effect, that is " Set all runtime tools to point to the sun-java6 alternatives:"
Thanks.

Revision history for this message
Áron Sisak (asisak) wrote :

This issue has been fixed by sun-java6-jre 6-02-0ubuntu1

Changed in sun-java6:
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

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.

rohan@ubuntu:~$ 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 -

rohan@ubuntu:~$ 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 -

rohan@ubuntu:~$ 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.

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Please see comment - I think this bug has re-appeared.

Changed in sun-java6:
status: Fix Released → New
Revision history for this message
Matti Lindell (mlind) wrote :

This has been fixed in sun-java6 (6-04-1).

Changed in sun-java6:
status: New → Fix Released
Changed in sun-java6:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.