

The current default and LTS version is Java 11. You can also decide which version you want on your system by installing a specific version number. You can install one or several Java packages.

However, bear in mind the license only allows non-commercial use of the software.

You can find the official Oracle JDK through a third-party repository. You use JRE for running Java-based applications, while JDK is for developing and programming with Java.Īlso available is Oracle Java, another SE implementation, which has additional commercial features. The Ubuntu repository offers two (2), open-source Java packages, Java Development Kit (Open JDK) and Java Runtime Environment (Open JRE). In this document, we look at different packages within the Java SE.
