DEV Community

Mim Ahmed for AWS Community Builders

Posted on

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

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesnโ€™t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.