icedtea-java7-jdk missing javaws man page

Bug #191297 reported by Michael Blakeley
4
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

$ uname -a
Linux mblakele-lt 2.6.24-7-generic #1 SMP Thu Feb 7 00:56:31 UTC 2008 x86_64 GNU/Linux
$ apt-show-versions | grep icedtea
icedtea-java7-jre/hardy uptodate 7~b24-1.5+20080118-1
icedtea-java7-jdk/hardy uptodate 7~b24-1.5+20080118-1
icedtea-java7-plugin/hardy uptodate 7~b24-1.5+20080118-1
icedtea-java7-bin/hardy uptodate 7~b24-1.5+20080118-1
$ man javaws
man: warning: /usr/share/man/man1/javaws.1.gz is a dangling symlink
No manual entry for javaws
See 'man 7 undocumented' for help when manual pages are not available.
$ ls -l /usr/share/man/man1/javaws.1.gz
lrwxrwxrwx 1 root root 29 2008-02-02 09:34 /usr/share/man/man1/javaws.1.gz -> /etc/alternatives/javaws.1.gz
$ ls -l /etc/alternatives/javaws*
lrwxrwxrwx 1 root root 38 2008-02-12 09:34 /etc/alternatives/javaws -> /usr/lib/jvm/java-7-icedtea/bin/javaws
$ sudo update-alternatives --list javaws
/usr/lib/jvm/java-7-icedtea/bin/javaws
mblakele@mblakele-lt:~$ sudo update-alternatives --list javaws.1
No alternatives for javaws.1.
$ find /usr/lib/jvm/java-7-icedtea -type f | grep javaws
/usr/lib/jvm/java-7-icedtea/bin/javaws

Looks like icedtea-java7-jdk installs javaws, but doesn't install the man page or the alternatives link.

Related branches

Revision history for this message
Matti Lindell (mlind) wrote :

icedtea-java7 has been removed from Hardy archive (see bug #203636). Can you reproduce this with openjdk-6 ? Please remove all icedtea-java7 packages before testing.

Changed in icedtea-java7:
status: New → Incomplete
Revision history for this message
Michael Blakeley (mike+ubuntu) wrote :

OK, but there's still no man page. Did *you* try it?

$ apt-show-versions | grep icedtea-java7
$ apt-show-versions | grep openjdk
openjdk-6-jdk/hardy uptodate 6b07-0ubuntu1
openjdk-6-jre/hardy uptodate 6b07-0ubuntu1
openjdk-6-jre-headless/hardy uptodate 6b07-0ubuntu1
openjdk-6-jre-lib/hardy uptodate 6b07-0ubuntu1
$ sudo update-alternatives --config javaws

There are 2 alternatives which provide `javaws'.

  Selection Alternative
-----------------------------------------------
 + 1 /usr/lib/j2se/1.4/bin/javaws
* 2 /usr/lib/jvm/java-6-openjdk/jre/bin/javaws

Press enter to keep the default[*], or type selection number:
$ man javaws
man: warning: /usr/share/man/man1/javaws.1.gz is a dangling symlink
No manual entry for javaws
See 'man 7 undocumented' for help when manual pages are not available.
$ ls -l /usr/share/man/man1/javaws.1.gz
lrwxrwxrwx 1 root root 29 2008-03-24 07:47 /usr/share/man/man1/javaws.1.gz -> /etc/alternatives/javaws.1.gz

Revision history for this message
Matti Lindell (mlind) wrote :

After installing openjdk-6-jdk, openjdk-6-doc and depends, there's no /etc/alternatives/javaws.1.gz in my system. Possibly an orphaned alternative from icedtea-java7 packages ?

Revision history for this message
Michael Blakeley (mike+ubuntu) wrote :

From j2re1.4, I think.

$ apt-show-versions j2re1.4
j2re1.4/hardy uptodate 1.4.2.02-1
$ sudo update-alternatives --auto javaws
$ man javaws | head -1
javaws(1) javaws(1)
$ sudo update-alternatives --config javaws

There are 2 alternatives which provide `javaws'.

  Selection Alternative
-----------------------------------------------
*+ 1 /usr/lib/j2se/1.4/bin/javaws
          2 /usr/lib/jvm/java-6-openjdk/jre/bin/javaws

Press enter to keep the default[*], or type selection number: 2
Using '/usr/lib/jvm/java-6-openjdk/jre/bin/javaws' to provide 'javaws'.
$ man javaws | head -1
man: warning: /usr/share/man/man1/javaws.1.gz is a dangling symlink

But for me, the point of this bug is really that javaws needs a man page.

Revision history for this message
Matti Lindell (mlind) wrote :

Right, assigning to openjdk-6.

Changed in icedtea-java7:
importance: Undecided → Wishlist
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-6 - 6b08-0ubuntu1

---------------
openjdk-6 (6b08-0ubuntu1) hardy; urgency=low

  * New code drop (b08).
  * Update IcedTea build infrastructure.
  * Move binfmt-support references from -jre to -jre-headless package.
  * Don't fail on purge, if /var/lib/binfmts/openjdk-6 is missing. LP: #206721.
  * Only use the basename for icons in desktop files. LP: #207413.
  * Install javaws(1). LP: #191297.
  * Install a wrapper script for javaws, which calls `javaws -viewer' if no
    arguments are given (or else starting javaws from the desktop menu
    would not do anything).
  * debian/JB-web-start.applications.in: Remove the -viewer option from command.

 -- Matthias Klose <email address hidden> Fri, 28 Mar 2008 16:10:32 +0000

Changed in openjdk-6:
status: New → 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.