Last active
July 8, 2017 10:28
-
-
Save BoyCook/dccbd2cd1e5dc9b61df0fe32a9d562bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
BASE_URL=http://download.oracle.com/otn-pub/java/jdk | |
JAVA_URL="$BASE_URL/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm" | |
curl -L -C - -b "oraclelicense=accept-securebackup-cookie" -O "${JAVA_URL}" | |
sudo yum localinstall jdk-8u131-linux-x64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment