
:max_bytes(150000):strip_icc()/ubuntu-install-jdk-c28d0d84d33c44e998a9d9af098c1700.jpg)

The JDK additionally has a few extra features packaged with it to facilitate software development.

Setting up default-jdk-headless (2:1.11-72build2). Install the JDK with the following command: sudo apt install default-jdk The Java Development Kit (JDK) provides everything a user needs to run Java applications. The full Java suite includes the Java Runtime Environment (JRE), Java Virtual Machine (JVM) and utilities to develop Java source code.

To quickly setup and install Java on Ubuntu, follow these steps: There are many different ways to install Java on Ubuntu, but if all you need is the ability to run a Java program or even develop and compile some Java source code, the apt-based installation path is the easiest one to follow.
