banner



How To Install Openjdk 11 On Ubuntu

The Coffee Runtime Surround (JRE) and Java Development Kit (JDK) are OpenJDK packages. The JRE includes Java virtual machine (JVM), classes, and binary files that are necessary to run the Coffee program. On the other manus, JDK contains JRE and other debugging and development tools. Download and install JDK if you are focused on creating Coffee applications. The new versions of Java are released gradually. At the time of preparing this post, JDK 11 is the latest long-term support (LTS) release, whereas 13, fourteen, and 15 are the characteristic releases of Java. The JDK 12 has been superseded because it does non include the most up to date security vulnerability fixes and is no longer recommended for use in production.

For case, if you are not sure which java package you should install, then it is suggestted to install JDK xi.

We are using Ubuntu xx.04 for installing the latest coffee versions.

Install OpenJDK 11

The OpenJDK 11 is included in the Ubuntu twenty.04 base repository. Update the package list before installing OpenJDK xi using:

Now, install OpenJDK with the control:

$ sudo apt install openjdk-11-jdk

The OpenJDK 11 LTS will be installed successfully.

Install OpenJDK 13

The OpenJDK thirteen is available from the Ubuntu 20.04 default repository and can be installed using the control:

$ sudo apt install openjdk-thirteen-jdk

Install OpenJDK fourteen

The OpenJDK 14 is available from the Ubuntu twenty.04 default repository and can be installed using the control:

$ sudo apt install openjdk-fourteen-jdk

Install OpenJDK fifteen

Released on fifteen September 2022, the OpenJDK 15 is the latest characteristic release of JDK. But information technology is non the part of Ubuntu xx.04 base repository.

To install OpenJDK xv, download its Debian package from the Oracle official website (https://www.oracle.com/java/technologies/javase-jdk15-downloads.html).

The downloaded Debian Packet will be saved in the Downloads directory. Navigate to the Downloads directory:

Next, install OpenJDK 15 through the Debian bundle using the apt command:

$ sudo apt install ./jdk-fifteen.0.1_linux-x64_bin.deb

Verify the OpenJDK installed version

Once you have installed your desired OpenJDK version on Ubuntu 20.04, you lot can then verify or bank check the installed version using:

Conclusion

To run and apply Coffee in any environment, we need to install JDK. The OpenJDK eleven is the LTS release, whereas Coffee 13, 14, and 15 are the feature releases. This postal service describes how to install OpenJDK eleven, 13, fourteen, and 15 on Linux, specially Ubuntu twenty.04.

Nigh the author

I am a software engineer and a research scholar. I like to write commodity and make tutorial on various IT topics including Python, Cloud Computing, Fog Computing and Deep Learning. I love to utilise Linux based operating systems.

Source: https://linuxhint.com/install-java-jdkjre-ubuntu/

Posted by: carsonthiskence.blogspot.com

0 Response to "How To Install Openjdk 11 On Ubuntu"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel