Java is one of the most important programming languages which is supported on so many types of operating systems. This tutorial informs you how to install Java on Ubuntu Operating System.
1. First, update the package index
2. Now use the following command to install the Java Runtime Environment (JRE)
Now you should have java installed on your system. You can check the version of Java using the following command.
Please give your feedback.