"Oracle JDK 7 Is NOT installed" error?

Run the below commands on terminal,

sudo dpkg -P oracle-java7-installer
sudo apt-get -f install

I have another potential workaround for this, but it requires manual intervention. The reason this has broken is because Oracle wants you to accept an OTN license. Here is workaround:

Go to Oracle Java7 JDK download site (I found it at Here). Agree to the OTN agreement, then find the file named "jdk-7u(whateverupdateislatest)-linux-x64.tar.gz"

sudo mv jdk-7u67-linux-x64.tar.gz /var/cache/oracle-jdk7-installer/



 sudo apt-get install oracle-java7-installer

I think that your download is corrupted . you have to remove the corrupted package first by code :

sudo apt-get purge oracle-java7-installer

Clean your apt :

sudo apt clean

Remove and reimport the ropsitory :

sudo add-apt-repository --remove ppa:webupd8team/java
sudo apt-get update
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update

Install your package again :

sudo apt-get install oracle-java7-installer

Enjoy it bro ! if the problem hasn't solved try using VPN . Maybe there is a filtering between you and the oracle website