Skip to content

Instantly share code, notes, and snippets.

@melice
Last active June 5, 2018 06:31
Show Gist options
  • Save melice/c7a80dac3e54cbe09dd333f63b12c6e5 to your computer and use it in GitHub Desktop.
Save melice/c7a80dac3e54cbe09dd333f63b12c6e5 to your computer and use it in GitHub Desktop.
script for install java 8u171 for centos x64
# script for install java 8u171 for centos x64
# download
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.rpm"
# yum install
yum localinstall jdk-8u171-linux-x64.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment