![]() ![]() OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) ![]() JRE will allow you to run almost all software based on Java.ĥ) Verify installation, using the following command: java -version Sudo apt install openjdk-8-jre-headless # version 8u292-b10-0ubuntu1~20.04Ĥ) Now, execute the following command to install the default JRE: sudo apt install default-jre Sudo apt install openjdk-13-jre-headless # version 13.0.7+5-0ubuntu1~20.04 Sudo apt install default-jre # version 2:1.11-72 Start by installing the version, firstly you need to update the package index: sudo apt updateĢ) Check if Java is already installed using the following command: java -versionģ) In case Java is not installed you'll see the following output: OutputĬommand 'java' not found, but can be installed with: It is an open-source variant of the JRE and JDK. Ubuntu 20.04 includes Open JDK 11 by default. Prerequisitesġ) Use the version packages with Ubuntu for easier installation. We will also address some of the FAQs related to the Java installation. You can follow the same guidelines for other Ubuntu-based distributions, including Kubuntu, Linux Mint, and Elementary OS. In this tutorial, you will install OpenJDK and Oracle Java on Ubuntu 20.04. It is used to build various cross-platform applications. ![]() Java is the most extensively used programming language in the world. Choose a different version or distribution Introductionīefore we begin talking about how to install Java on Ubuntu 20.04, let’s briefly understand - What is Java? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |