← Back to team overview

openjdk team mailing list archive

[Bug 966212] [NEW] jinfo plugin alternative should be mozilla-javaplugin.so instead of -javaplugin.so

 

Public bug reported:

The openjdk-6-jdk package creates /usr/lib/jvm/.java-1.6.0-openjdk.jinfo

The last line of this file defines the alternative for the Firefox java plugin
plugin -javaplugin.so /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so

Running update-java-alternatives with the original file results in an
error of "update-alternatives: error: no alternatives for
-javaplugin.so."

# sudo update-java-alternatives --set java-1.6.0-openjdk
update-alternatives: error: no alternatives for -javaplugin.so.

This happens because there is no /etc/-javaplugin.so alternative
defined.  The correct alternative is /etc/mozilla-javaplugin.so.

If you add "mozilla" to "-javaplugin.so" in /usr/lib/jvm/.java-1.6.0-openjdk.jinfo, update-java-alternatives runs correctly.
plugin mozilla-javaplugin.so /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so

Please add "mozilla" to that line when the openjdk-6-jdk package
installer generates /usr/lib/jvm/.java-1.6.0-openjdk.jinfo

Please also check openjdk-7-jdk for the same issue.  I am running 11.10,
so icedtea7-plugin is not available for me to check if the same issue
occurs with openjdk-7-jdk.  Someone should check it in 12.04, where I
understand icedtea7-plugin is working.

Thanks for the good work on the openjdk packages.

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/966212

Title:
  jinfo plugin alternative should be mozilla-javaplugin.so instead of
  -javaplugin.so

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  The openjdk-6-jdk package creates
  /usr/lib/jvm/.java-1.6.0-openjdk.jinfo

  The last line of this file defines the alternative for the Firefox java plugin
  plugin -javaplugin.so /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so

  Running update-java-alternatives with the original file results in an
  error of "update-alternatives: error: no alternatives for
  -javaplugin.so."

  # sudo update-java-alternatives --set java-1.6.0-openjdk
  update-alternatives: error: no alternatives for -javaplugin.so.

  This happens because there is no /etc/-javaplugin.so alternative
  defined.  The correct alternative is /etc/mozilla-javaplugin.so.

  If you add "mozilla" to "-javaplugin.so" in /usr/lib/jvm/.java-1.6.0-openjdk.jinfo, update-java-alternatives runs correctly.
  plugin mozilla-javaplugin.so /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so

  Please add "mozilla" to that line when the openjdk-6-jdk package
  installer generates /usr/lib/jvm/.java-1.6.0-openjdk.jinfo

  Please also check openjdk-7-jdk for the same issue.  I am running
  11.10, so icedtea7-plugin is not available for me to check if the same
  issue occurs with openjdk-7-jdk.  Someone should check it in 12.04,
  where I understand icedtea7-plugin is working.

  Thanks for the good work on the openjdk packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/966212/+subscriptions



Follow ups

References