How can I upgrade to Java 1.8 on an Amazon Linux Server?

To remove java 1.7 and install java 1.8:

sudo yum install java-1.8.0
sudo yum remove java-1.7.0-openjdk

Leave a Comment

tech