Last active
February 21, 2018 10:38
-
-
Save edwinlab/ef2e5fc14ea6e6c4be45faf3b12bb7a2 to your computer and use it in GitHub Desktop.
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/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-linux-x64.rpm" \ | |
| -O jdk-8-linux-x64.rpm | |
| 1. Download the file | |
| 2. mkdir installer && cd installer && mv jdk-8u161-linux-x64.rpm* jdk-8u161-linux-x64.rpm | |
| 3. yum list installed java* && sudo yum remove java-1.7.0-openjdk.x86_64 | |
| 4. sudo yum localinstall jdk-8u161-linux-x64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment