Created
November 30, 2016 02:49
-
-
Save iamdionysus/6addfc83635d848d537198b70f841efc to your computer and use it in GitHub Desktop.
Install java 8 and remove 7 in amazon linux
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
sudo yum install java-1.8.0 -y | |
sudo yum remove java-1.7.0-openjdk -y |
Yes it remove ,but still it shows when type "java -version"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
simple. Thanks a lot