Skip to content

Instantly share code, notes, and snippets.

@iamdionysus
Created November 30, 2016 02:49
Show Gist options
  • Save iamdionysus/6addfc83635d848d537198b70f841efc to your computer and use it in GitHub Desktop.
Save iamdionysus/6addfc83635d848d537198b70f841efc to your computer and use it in GitHub Desktop.
Install java 8 and remove 7 in amazon linux
sudo yum install java-1.8.0 -y
sudo yum remove java-1.7.0-openjdk -y
@vibinernesto
Copy link

simple. Thanks a lot

@nayaknayak
Copy link

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