Is a free and open source implementation of the Java programming language. It may be installed from the software centre.
OpenJDK is a free and open source implementation of the Java programming language.
The package that provides the Java Runtime Environment is openjdk-?-jre
Where ?
is a number that depends which version of Ubuntu you are using. In 16.10, for example, it is openjdk-9-jre
To see which version is available for your distribution, use apt search openjdk
to see all packages matching the name. To install the full Java Development Kit, install the openjdk-?-jdk
package, which includes the JRE.
To be able to use OpenJDK in browsers, the package icedtea-?-plugin
(where ?
is a number that depends which version of Ubuntu you are running, 8 in 16.10) needs to be installed.