More information on Java Official Documentation. As you can see from below output, current version is 11.0.8. You can check the installed Java version by using java -version command as shown below. If you want to install earlier version like Java 8 then you can install it by using apt install openjdk-8-jdk -y command. This is the latest Stable Java version that can be installed(at the time of writing this article). This command will download and install all the latest available updates from Ubuntu Repository as shown below.Īfter updating your Server you can now install Java 11 using apt install openjdk-11-jdk -y command as shown below. Step 2: Update Your Serverīefore going through the steps to install java on Ubuntu 20.04 it is always recommended to update your server first using apt-get update -y command as shown below. Please Check How to Add User to Sudoers to know more about providing sudo access to the User. to know more about apt-get tool.ĭ) You should have sudo access to run Privileged Commands. You can check 20 Useful apt get examples on Ubuntu. Here, we will go through the detailed steps required to install Java on Ubuntu 20.04.Īlso Read: Solved: Curl error: Failed writing received data to disk/application on Linux Step 1: PrerequisitesĪ) You need to have a running Ubuntu 20.04 Server.ī) You should have apt tool installed in your Server. Java has a rich set of API Libraries evolved over the years to provide a wide range support to cross platform architecture. Java is designed to enable the development of high performance applications which can be deployed in a distributed architecture. You will see Java based Applications on almost all the digital platforms around yourselves. It is Known as Platform independent Language due to its ability to run in various hardware architecture platforms. Java is a very popular Object Oriented Language. In this article, I will take you through the steps to Install Java on Ubuntu 20.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |