How to install java in AWS EC2 instance?

On Amazon Linux:

On RHEL/CentOS:

On Debian/Ubuntu:

On Fedora:

On Windows:

Once installed, check the java version to confirm if the installation was successful.

Leave a Reply