How To Install / Update Java On Amazon AWS Linux

How to install/update java on linux
(AWS ec2 AMI)

Today we will learn:

1. How to install java on amazon aws linux
2. How to update java

Step 1 : Check if java is already installed
java -version
javac -version

Step 2 : Update existing packages
sudo yum update
Get Java

wget –no-cookies –no-check-certificate –header “Cookie:…

3 thoughts on “How To Install / Update Java On Amazon AWS Linux

  1. Hi Raghav,
    while installing java using the following commad
    wget –no-cookies –no-check-certificate –header "Cookie:; oraclelicense=accept-securebackup-cookie" ""

    But i'm getting following error,

    HTTP request sent, awaiting response… 404 Not Found
    2018-08-30 06:41:45 ERROR 404: Not Found.

    Do we need to do any configuration…?

Leave a Comment

Your email address will not be published. Required fields are marked *