Created
June 23, 2015 07:30
-
-
Save pebo/16aa3415fa213aab2e11 to your computer and use it in GitHub Desktop.
EMR Java 8
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 | |
set -e | |
wget -c --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.rpm" --output-document="jdk-8u45-linux-x64.rpm" | |
sudo rpm -i jdk-8u45-linux-x64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment