7

On Ubuntu 11.10 (oneiric), I installed openjdk-7-jre openjdk-7-jdk but could not find icedtea7-plugin. How to get the plugin?

$ java -version
java version "1.7.0_147-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
Marco FX
  • 140
  • 1
  • 1
  • 10
  • Apparently, the plugin is not yet available ([and it’s a known bug](https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/905714)). – rumpel Feb 19 '12 at 18:46

4 Answers4

5

Install icedtea6-plugin

sudo apt-get install icedtea6-plugin

For more help

enter image description here

enter image description here

its 6 with java 7

One Zero
  • 26,773
  • 26
  • 87
  • 109
5

sudo apt-get install icedtea-web is the correct command.

Bruno Pereira
  • 72,895
  • 33
  • 199
  • 223
  • 2
    I tried the command and was told that I have installed the latest version. But: $ sudo update-java-alternatives -s java-1.7.0-openjdk-amd64 update-alternatives: error: no alternatives for -javaplugin.so. update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so I could not find in the Ubuntu repositories icedtea7-plugin package, only the icedtea6-plugin. – Marco FX Nov 26 '11 at 00:48
  • If you open `firefox` and type `about:plugins` on the address bar icedtea is not listed as the java plugin? – Bruno Pereira Nov 26 '11 at 00:55
  • Yes, it is listed. Visually it seems that the java plugin running but in version 6. I wish use the version icedtea7. In the Oracle Web site test says I have java 6.23. What to do? – Marco FX Nov 26 '11 at 01:53
  • I only have openjdk7 installed and the oracle site tells me the same, I would say do not worry about it. – Bruno Pereira Nov 26 '11 at 02:07
  • your java -version tells your that you are using the version you want, icedtea is running fine, only oracle is reporting it wrong I would say. – Bruno Pereira Nov 26 '11 at 02:11
  • Thanks. In another test the same information appeared in the browser. I just hope that the browser is actually using the correct version of openjdk7. I think it is helpful to better performance and access to Internet banking. – Marco FX Nov 26 '11 at 04:02
  • I have only openjdk7 installed and when trying to install icedtea-plugin, apt is installing the whole openjdk-6-jre. So that’s unfortunately not the solution! – rumpel Feb 19 '12 at 18:39
  • ``sudo apt-get install icedtea-7-plugin`` – Natim Mar 22 '13 at 11:10
  • This command has changed over time, however One Zero's answer will always install correctly, and is a more visual method, which I think is best for the audience of this site. – Greg Aug 29 '13 at 11:52
  • You know, it would have taken you less time to fix this answer than the time it took to comment and down-vote. – Bruno Pereira Aug 29 '13 at 13:25
  • @Greq There, fixed. No more issues with the command for a very long time. Also *I do not like it because it is command line and this site values more graphical answers* is simply bs. [No offense](http://meta.askubuntu.com/questions/60/should-answers-have-terminal-or-gui-instructions). – Bruno Pereira Aug 29 '13 at 13:26
3

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install icedtea-7-plugin
Mitch
  • 106,657
  • 24
  • 210
  • 268
DJF
  • 41
  • 1
  • This solves my problem. It was similar to topic starter's one, but I was to switch java alternatives and it had failed because of missing alternative for that icedtea plugin. Thanks! – ASten Feb 03 '15 at 23:31
0

Till the OpenJDK-7 IcedTea plugin gets released, you can use the following workaround:

http://r-interface.blogspot.in/2012/05/java-openjdk-install-errors-in-ubuntu.html

Manav
  • 111
  • 2