Hope you are doing good.
Please use the below link to Download the Java in your System using wget command:
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz
I hope this resolves your issue.
Please feel free to revert if you need any further help.