View Full Version : [ubuntu] Unable to install java 1.7 after upgrading to ubuntu 12.04

May 7th, 2012, 06:54 PM

I recently upgraded my machine from ubuntu 11.10 to 12.04.. Everything went smooth except for java 1.7 installation..

can anyone help me to resolve with this..

Setting up oracle-java7-installer (7u3-0~eugenesan~precise4) ...
Download done.
sha256sum mismatch jdk-7u3-linux-i586.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

From ubuntu software center java is marked as installation completed successfully.

May 8th, 2012, 12:07 PM
sudo dpkg --configure -a

May 9th, 2012, 08:45 PM
sudo dpkg --configure -a
Nope, because the download package that goes *WITH* the installer is broken. Rerunning the configuration just fails with same message.

May 9th, 2012, 08:48 PM
Are you running this from Webupd8's PPA, which can be found on Launchpad and added to your sources.list?

https://launchpad.net/~webupd8team/+archive/java (https://launchpad.net/%7Ewebupd8team/+archive/java)

BTW, the current update is u4.