Created
June 26, 2015 01:57
-
-
Save cecepm/cca9a2a81e7316ff832a to your computer and use it in GitHub Desktop.
Download java JDK using wget
This file contains hidden or 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
| wget --no-cookies \ | |
| --no-check-certificate \ | |
| --header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
| "http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz" \ | |
| -O jdk-7u79-linux-x64.tar.gz | |
| ## if you need java cryptography extension | |
| #wget --no-cookies \ | |
| # --no-check-certificate \ | |
| # --header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
| # "http://download.oracle.com/otn-pub/java/jce/7/UnlimitedJCEPolicyJDK7.zip" \ | |
| # -O UnlimitedJCEPolicyJDK7.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment