By default, Ubuntu does not come with Java (or the Java Runtime Environment, JRE) installed. However, you may need it for some programs or games like Minecraft.
Read moreHow do I change Java version in Ubuntu?
How do I switch Java on Ubuntu?
Read moreWhat is the latest Java version for Ubuntu?
Installing the Default OpenJDK (Java 11 ) At the time of writing, the latest LTS version of Java is version 11. That’s it! At this point, you should have successfully installed Java on your Ubuntu system.
Read moreHow do I find Java version Ubuntu?
To check the Java version on Linux Ubuntu/Debian/CentOS:
Read more