Doesn't provide browser plugin

Bug #1024368 reported by Shahar Or
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-package (Debian)
Fix Released
Unknown
java-package (Ubuntu)
Fix Released
Undecided
Cedric Pineau

Bug Description

Dear friends,

In Firefox Java doesn't appear as a plugin after installing the 7u5 resulting package.

To reproduce:
1. Get the package from:
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html
I used:
http://download.oracle.com/otn-pub/java/jdk/7u5-b06/jdk-7u5-linux-i586.tar.gz
2. Run 'make-jpkg <path to file>' and follow the prompts and wait until the package is built.
3. Run (as root) 'dpkg -i <resulting package>'
4. Open your web browser or restart it if it is already running. I use Firefox.
5. Point it here:
http://www.java.com/en/download/testjava.jsp

See that "Something is wrong. Java is not working."

Thanks and Blessings,
Shahar

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: java-package 0.50
ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
Uname: Linux 3.5.0-4-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.3-0ubuntu4
Architecture: i386
Date: Fri Jul 13 14:59:49 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120421)
PackageArchitecture: all
ProcEnviron:
 TERM=screen-bce
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: java-package
UpgradeStatus: Upgraded to quantal on 2012-07-12 (0 days ago)

Revision history for this message
Shahar Or (mightyiam) wrote :
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Hi Shahar,

do I see this correct that you has made a custom package from openjdk or used a oracle provided one?

Please set this back to new when you has provided the information.

Changed in java-package (Ubuntu):
status: New → Incomplete
Revision history for this message
Shahar Or (mightyiam) wrote :

Hi, melchiaros,

This is made out of an Oracle supplied jdk.

Thank you and blessings,
Shahar

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

o.K Shahar.

In this case we need to report upstream to oracle. For this we need to increase the reproducing capabilities of this report first.

Here comes a standard text:

Pease give a step by step description like pushing this button, choosing that, waiting for, and so on). Give a good algorithmic description, that is complete and can guide a beginner in Java JDK to the point where the problem happends.

(step1,
 step2,
.
.
.
finished)

After that set the status of this report back to new.

Revision history for this message
Shahar Or (mightyiam) wrote :

I did it, melciaros.

description: updated
Changed in java-package (Ubuntu):
status: Incomplete → New
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Thank you for doing.

Could you please also link back to this report here.

Use for this the "Also affects project" option near the top of this report(left). Give to it the URL of the upstream report.

When launchpad do not get it on, there is an option in "Also affects project" for just marking as reported upstram.

Thank you melchiaros.

Revision history for this message
Shahar Or (mightyiam) wrote :

Melchiaros,

Are you sure that this is an upstream bug?

Thanks,
Shahar

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Q:Are you sure that this is an upstream bug?

A:I think yes.

A installation package should set the all system relevant configurations correctly and automatically.

(In past I have done this manually in Ubuntu12.04 for switch between openjdk6 and openjdk7).

When it does not do it is a bug of their installation routine(or a missing ability).

Anyway, your third party software is per definition in the category of multiverse and with this no cananical developer will do hands on directly.

The only exception may be when you/we be able to proof that core parts of Ubuntu causes this misbehaviour.

As I descripted above: I do not thnk so.

when you have a good argumentation that shows the opposite, please write. When you can show which core component it is, we extend the report to this.

Revision history for this message
Shahar Or (mightyiam) wrote :

Melchiaros,

If you thought that I meant that I reported it to Oracle then I apologize for the misunderstanding. I didn't report it upstream to oracle. I only provided the steps to reproduce.

I am still not sure that this is an issue in the Oracle release. In order to test that, the Oracle release (the .tar.gz) could be installed according to their instructions. Then, if the bug didn't exist (there was a plugin available to Firefox, etc.) then this would appear to be a bug in make-jpkg.

Otherwise, this could be straightened out quite quickly by having the developer of make-jpkg look at this issue.

I think that you're probably wrong referring to "their (Oracle's) installation routine" because make-jpkg probably replaces their installation routine with Debian packaging. Hence the bug would be in make-jpkg.

Thanks,
Shahar

Revision history for this message
Cedric Pineau (cedric-pineau) wrote :

I Shahar,

I think your problem is the same as reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673670.
I fixed them in still-to-come 0.51 version.

In the mean time as specified in the other report, you can fix it manually (as root) :
update-alternatives --install /usr/lib/firefox/plugins/libjavaplugin.so firefox-javaplugin.so /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/libnpjp2.so 63
update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/libnpjp2.so 63

Thank you for reporting.

Cédric

Changed in java-package (Ubuntu):
assignee: nobody → Cedric Pineau (cedric-pineau)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package java-package - 0.52

---------------
java-package (0.52) unstable; urgency=low

  [ Sylvestre Ledru ]
  * Team upload
  * Upload to unstable
  * Ack the NMU of David Prévot (thanks!)
  * Standards-Version updated to version 3.9.4
  * Remove obsolete variable from the changelog
  * Add support of ARM upstream binary by James Page and Matthias Vill.
    Thanks guys! (Closes: #687375)
  * Change the installation path from
    /usr/lib/jvm/jdk-6.38-oracle-x64 or /usr/lib/jvm/jdk-7.10-oracle-x64
    to
    /usr/lib/jvm/jdk-6-oracle-x64 and /usr/lib/jvm/jdk-7-oracle-x64
    Thanks to Constantin Makshin for the patch (Closes: #696227)

  [ Cédric Pineau ]
  * Fix lintian errors and warnings

  [ Gabriele Giacone ]
  * Add {mozilla,firefox}-javaplugin.so for update-java-alternatives.
  * Fix plugin directories. Closes: #686216

  [ Emmanuel Bourg ]
  * Switched to the 3.0 (native) package format
  * debian/control: Use canonical URLs for the Vcs-* fields
  * debian/copyright: Switched to the Machine-readable format 1.0
  * Updated the manpages to reflect the latest naming changes
  * Removed the unused provided dependencies (j2sdk<version>, j2re<version>)
  * Provide the java<version-1>-runtime and java<version-2>-runtime dependencies
    (Closes: #691063)
  * Provide the java<version>-sdk dependencies to match the openjdk package
  * Use the upstream versioning scheme (i.e 7u13 instead of 7.13)
    to match the convention used by the new openjdk packages
  * Renamed the script files (j2sdk->jdk, j2re->jre, j2se->javase)

 -- Sylvestre Ledru <email address hidden> Wed, 05 Jun 2013 13:43:55 +0200

Changed in java-package (Ubuntu):
status: Fix Committed → Fix Released
Changed in java-package (Debian):
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.