Reputation: 11
I am trying to download and install Java from oracle on CentOS6.5 but i am getting error. The command i am using is:
wget --no-check-certificate --no-cookies --header "Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com""http://download.oracle.com/otn-pub/java/jdk/7u17-b02/jdk-7u17-linux-x64.rpm"
Can anyone help me out here?
Upvotes: -2
Views: 512
Reputation: 11
wget --no-check-certificate --no-cookies –header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" http://download.oracle.com/otn-pub/java/jdk/7u17-b02/jdk-7u17-linux-x64.rpm --2015-03-03 22:13:44-- http://%E2%80%93header/ Resolving –header... failed: Name or service not known. wget: unable to resolve host address “–header”
Upvotes: 0