Please add sun-java6-jre and sun-java6-plugin to *ubuntu-restricted-extras

Bug #231098 reported by jeroenl
12
Affects Status Importance Assigned to Milestone
ubuntu-restricted-extras (Ubuntu)
Fix Released
Wishlist
Michael Vogt
Hardy
Fix Released
Wishlist
Michael Vogt

Bug Description

Binary package hint: ubuntu-restricted-extras

Please add sun-java6-jre and sun-java6-plugin to ubuntu-restricted-extras, kubuntu-restricted-extras and xubuntu-restricted-extras. The OpenJDK packages are not feature complete.

TEST CASE:
1. use a stock hardy install
2. run "apt-cache depends ubuntu-restricted-extras"
3. verify that "sun-java6-plugin" is *not* in the list

4. enable hardy-proposed and run "sudo apt-get update"
5. repeat step 2
6. verify that sun-java6-plugin is part of the recommends

Revision history for this message
jeroenl (jeroenl) wrote :

Also make sure that OpenJDK (when sun-java6-jre is installed) is not set as the default java-alternative and please make sure the sun-java6-plugin is the default mozilla/firefox plugin and not the icedtea-gcjwebplugin (when sun-java6-plugin is installed).

James Westby (james-w)
Changed in ubuntu-restricted-extras:
importance: Undecided → Wishlist
Revision history for this message
Richard Seguin (sectech) wrote :

Thank you for reporting this issue. We have set the status for this issue to "wishlist" so it can be considered in future releases.

Richard Seguin

Changed in ubuntu-restricted-extras:
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This is uploaded in intrepid now.

Changed in ubuntu-restricted-extras:
assignee: nobody → mvo
status: Confirmed → Fix Released
Michael Vogt (mvo)
description: updated
Changed in ubuntu-restricted-extras:
assignee: nobody → mvo
importance: Undecided → Wishlist
status: New → Fix Committed
Revision history for this message
Jonathan Riddell (jr) wrote :
Revision history for this message
Jonathan Riddell (jr) wrote :

subscribed motu-sru, waiting for approval.

Revision history for this message
Emmet Hikory (persia) wrote :

This debdiff only appears to change the Java plugin for i386, as compared to the candidate supplied for Bug #219684. While I agree that using Java-6 is unfortunately appropriate for Hardy (as OpenJDK isn't quite there yet), I don't agree that this is only true for i386.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Emmet for your review.

I was leaving the other architectures as they are because we do not have a browser plugin for those other than "icedtea-gcjwebplugin". The sun-java6-plugin is only available on i386. I think people are mostly interessted in the browser plugin. But I do not have strong opinions on this matter and I'm happy to change amd64 to include sun-java6-jre if that is you feel that this is the appropriate thing to do.

Cheers,
 Michael

Revision history for this message
Emmet Hikory (persia) wrote :

No, you're correct. I'm looking at debdiffs quickly. I think we also ought swap it for amd64, as openjdk doesn't work in lots of places, but it doesn't make sense to swap it where the package isn't available :)

Revision history for this message
Scott Kitterman (kitterman) wrote :

ack from motu-sru, but please add amd64.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks, uploaded as ubuntu-restricted-extras_15.2_source.changes to hardy-proposed with the addition of sun-java-jre to the amd64 version.

Revision history for this message
Jonathan Riddell (jr) wrote :

accepted into hardy-proposed, please test.

Revision history for this message
Gavin Hamill (gdh) wrote :

Confirmed. Installed hardy release ISO on a fresh VirtualBox instance:

gdh@virtualbox-hardy:~$ apt-cache depends ubuntu-restricted-extras
ubuntu-restricted-extras
  Recommends: flashplugin-nonfree
  Recommends: gstreamer0.10-ffmpeg
  Recommends: gstreamer0.10-pitfdll
  Recommends: gstreamer0.10-plugins-bad
  Recommends: gstreamer0.10-plugins-bad-multiverse
  Recommends: gstreamer0.10-plugins-ugly
  Recommends: gstreamer0.10-plugins-ugly-multiverse
  Recommends: icedtea-gcjwebplugin
  Recommends: libdvdread3
  Recommends: liblame0
  Recommends: msttcorefonts
    ttf-liberation
  Recommends: unrar

[enable hardy-proposed in Software Sources and Reload]

gdh@virtualbox-hardy:~$ apt-cache depends ubuntu-restricted-extras
ubuntu-restricted-extras
  Recommends: flashplugin-nonfree
  Recommends: gstreamer0.10-ffmpeg
  Recommends: gstreamer0.10-pitfdll
  Recommends: gstreamer0.10-plugins-bad
  Recommends: gstreamer0.10-plugins-bad-multiverse
  Recommends: gstreamer0.10-plugins-ugly
  Recommends: gstreamer0.10-plugins-ugly-multiverse
  Recommends: libdvdread3
  Recommends: liblame0
  Recommends: msttcorefonts
    ttf-liberation
  Recommends: sun-java6-plugin
  Recommends: unrar

tapping 'restricted' into Add/Remove software (after selecting 'all available applications') installs ubuntu-restricted-extras including Sun's JRE from multiverse. Firefox is immediately able to open Java applets and shows Sun branding whilst loading.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

HARDY VERIFICATION

Using version 15 from hardy-release:
$ apt-cache depends ubuntu-restricted-extras
ubuntu-restricted-extras
  Recommends: flashplugin-nonfree
  Recommends: gstreamer0.10-ffmpeg
  Recommends: gstreamer0.10-pitfdll
  Recommends: gstreamer0.10-plugins-bad
  Recommends: gstreamer0.10-plugins-bad-multiverse
  Recommends: gstreamer0.10-plugins-ugly
  Recommends: gstreamer0.10-plugins-ugly-multiverse
  Recommends: icedtea-gcjwebplugin
  Recommends: libdvdread3
  Recommends: liblame0
  Recommends: msttcorefonts
    ttf-liberation
  Recommends: unrar
$

Using version 15.2 from hardy-proposed:
ubuntu-restricted-extras
  Recommends: flashplugin-nonfree
  Recommends: gstreamer0.10-ffmpeg
  Recommends: gstreamer0.10-pitfdll
  Recommends: gstreamer0.10-plugins-bad
  Recommends: gstreamer0.10-plugins-bad-multiverse
  Recommends: gstreamer0.10-plugins-ugly
  Recommends: gstreamer0.10-plugins-ugly-multiverse
  Recommends: libdvdread3
  Recommends: liblame0
  Recommends: msttcorefonts
    ttf-liberation
  Recommends: sun-java6-plugin
  Recommends: unrar

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in ubuntu-restricted-extras:
status: Fix Committed → Fix Released
Revision history for this message
vinipl87 (vinipl87) wrote :

I disagree with this fix for amd64 - there is no sun-java6-plugin in repositories for this architecture.
Now those who run amd64 and upgrade ubuntu-restricted-extras have 2 JVMs installed as this package depends on both icedtea-gcjwebplugin (which depends on openjdk-6-jre) AND sun-java6-jre, at mininum a waste of space..
I solved this problem by forcing and locking the old version of ubuntu-restricted-extras.

With Ubuntu 8.04 OpenJDK always ran smoothly for me. I know it lacks some bits in media related APIs, the only Java application I run that require such things is FrostWire, and it works fine!
Are there other mainstream Java apps that fail with OpenJDK?

Revision history for this message
Jesper de Jong (jespdj) wrote :

@vinipl87: Sun released a version of Java 6 in Jan or Feb 2009 which includes a 64-bit browser plug-in. The version of Sun Java 6 included with Jaunty (Sun Java 6 update 13) includes this 64-bit plug-in.

I agree with your observation that ubuntu-restricted-extras should not depend on OpenJDK Java as well as Sun Java; it is totally unnecessary to install two versions of Java.

ubuntu-restricted-extras for Jaunty should only depend on sun-java6-plugin (and sun-java6-jre) and not on icedtea6-plugin or anything else that pulls in OpenJDK Java.

See also bug #361998

Revision history for this message
Xavier (xavierorr-iinet) wrote :

this problem is back again in jaunty causing confusion and pain for new users thinking that ubuntu doesn't work properly with java apps because of the dodgy openjdk. its a pain to have to get rid of the unstable and incomplete openjdk and install the proper sun java.

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.