Amazon Corretto 11 JDK Installation on Ubuntu 14.04 and set JAVA_HOME Environment Variable Globally

Опубликовано: 28 Сентябрь 2024
на канале: java frm
1,029
4

In this video we are going to see how to install Amazon Corretto 11 JDK on Ubuntu 14.04 LTS and set JAVA_HOME Environment Variable.
Here I am going to install amazon corretto 11 tar gzip archive for linux.
1. First java is configured for the single user, by setting JAVA_HOME in .profile
2. Then Java is configured for multiple user, by setting JAVA_HOME and adding the java path in new shell script and placing the shell script
in /etc/profile.d directory.
3. Finally Java is available to all users. java is configured for all users in ubuntu linux. This is tested by logging in to ubuntu linux with more than one user accounts.

Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with long-term support that includes performance enhancements and security fixes. Corretto is certified as compatible with the Java SE standard and is used internally at Amazon for many production services. With Corretto, you can develop and run Java applications on operating systems such as Amazon Linux 2, Windows, and macOS.

Amazon Corretto can be downloaded from https://docs.aws.amazon.com/corretto/...