Skip to content

Instantly share code, notes, and snippets.

@iamdionysus
Created November 30, 2016 02:49
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

Sorry, something went wrong.

@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