Reputation: 6130
I would like to do a wget JDK8 from a remote machine. Is it possible to do that? Since the links once I agree for license, downloads a HTML file instead and not the 64 bit rpm
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Upvotes: 1
Views: 1380
Reputation: 328923
You need to pass a cookie, for example (adjust file name as required):
wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar.gz
Upvotes: 5