DEV Community

Mim Ahmed for AWS Community Builders

Posted on

1

Install Java 11 on Amazon Linux 2

First SSH Your Linux Machine

SSH EC2

Run the yum update command. Optionally, you can add the --security flag to apply only security updates

Command: sudo yum update

yum update

In order to install java 11:

sudo amazon-linux-extras install java-openjdk11

Java Install

Type "Y" for install packages

Y

Package installation

Wait until all packages finished install

Finished Install

Check Java Instillation

Command: java -version

Java Check

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post