Before starting, ensure you have:
✅ AWS account with an Ubuntu EC2 instance created
✅ SSH client like Putty to access the instance
✅ Root or sudo access
Login to your AWS EC2 instance using Putty or a terminal:
login as: ubuntu
Ensure your system has the latest package updates:
sudo apt-get update
sudo apt-cache search openjdk