how to install java plugin for chrome

Asked by yca

Could any one please tell me how to install Java plugin for google Chrome on Ubuntu 12.04 on the computer
I am new to linux and a step by step procedure would be greately appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
wojox (wojox) said :
#1

sudo apt-get install openjdk-7-jre

Revision history for this message
yca (ycaarchitects) said :
#2

yca@yca-945GCT-M2:~$ sudo apt-get install openjdk-7-jre
[sudo] password for yca:
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-7-jre is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 260 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up oracle-java7-installer (7u4-0~webupd8~4) ...
Removing outdated cached downloads...
Downloading cookie...
--2012-06-15 19:54:57-- http://launchpadlibrarian.net/98645053/cookie.txt
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.229, 91.189.89.228
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1053 (1.0K) [text/plain]
Saving to: `./cookie.txt'

     0K 100% 1.11K=0.9s

2012-06-15 19:55:11 (1.11 KB/s) - `./cookie.txt' saved [1053/1053]

Downloading Oracle Java 7...
--2012-06-15 19:55:11-- http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-i586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 96.17.181.33, 96.17.181.32
Connecting to download.oracle.com (download.oracle.com)|96.17.181.33|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-i586.tar.gz [following]
--2012-06-15 19:55:20-- https://edelivery.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-i586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.50.22.174
Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.50.22.174|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-i586.tar.gz?AuthParam=1339770456_dbc5d70e62746f2728e2c8972314fe51 [following]
--2012-06-15 19:55:38-- http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-i586.tar.gz?AuthParam=1339770456_dbc5d70e62746f2728e2c8972314fe51
Connecting to download.oracle.com (download.oracle.com)|96.17.181.33|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 82927766 (79M), 36592532 (35M) remaining [application/x-gzip]
Saving to: `jdk-7u4-linux-i586.tar.gz'

        [ skipping 43008K ]
 43008K ,,,,,,,, ,,,,,,,, ,,,,,,,, ,,,,,,,, ,,,..... ........ 56% 8.16K 4h23m
 46080K ........ ........ ..... 58% 1.03K=29m0s

2012-06-15 20:24:44 (1.28 KB/s) - Connection closed at byte 48621166. Retrying.

--2012-06-15 20:24:45-- (try: 2) http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-i586.tar.gz?AuthParam=1339770456_dbc5d70e62746f2728e2c8972314fe51
Connecting to download.oracle.com (download.oracle.com)|96.17.181.33|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 82927766 (79M), 34306600 (33M) remaining [application/x-gzip]
Saving to: `jdk-7u4-linux-i586.tar.gz'

        [ skipping 46080K ]
 46080K ,,,,,,,, ,,,,,,,, ,,,,,... ........ 59% 912 =12m10s

2012-06-15 20:37:00 (912 B/s) - Connection closed at byte 49286950. Giving up.

download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of oracle-jdk7-installer:
 oracle-jdk7-installer depends on oracle-java7-installer; however:
  Package oracle-java7-installer is not configured yet.
dpkg: error processing oracle-jdk7-installer (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 oracle-java7-installer
 oracle-jdk7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)

"This is the error I keep getting when I try to launch the command you gave me wht should I do

Can you help with this problem?

Provide an answer of your own, or ask yca for more information if necessary.

To post a message you must log in.