Last active
August 29, 2015 14:23
-
-
Save cwilper/0d7506b03906f0676541 to your computer and use it in GitHub Desktop.
wget commandline for oracle jdk unattended install
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
# Find the url to the latest .tar.gz for linux at the following url and populate it below: | |
# http://www.oracle.com/technetwork/java/javase/downloads/index.html | |
URL=?? | |
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" $URL | |
rpm -y install filename.tar.gz | |
# If you want to set it/select it as the system-wide "alternative" on CentOS/RHEL, | |
# see http://tecadmin.net/steps-to-install-java-on-centos-5-6-or-rhel-5-6/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment