> ## Content Index
> Fetch the complete content index at: https://www.boldoutlook.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How-To Install Java with Apt-Get on Ubuntu 16.04
- URL: https://www.boldoutlook.com/install-java-apt-get-ubuntu-1604/
- Published: 2023-05-23T12:00:59.000Z
- Updated: 2025-07-26T02:25:32.000Z
- Description: In this tutorial, I'm going to show you how-to install Java using Apt-Get on Ubuntu 16.04 in three easy steps.
- Author: Brandon Himpfen
- Tags: Digital, Java, Learning Centre, Ubuntu, Technology, #Import 2026-10-18 13:20

In this tutorial, I'm going to show you how-to install Java using Apt-Get on Ubuntu 16.04 in three easy steps.

Firstly, update the package index:

```shell
sudo apt-get update

```

Next, we will install the OpenJDK 8 package:

```shell
sudo apt-get install openjdk-8-jdk

```

Verify that Java has been installed correctly by checking the version:

```shell
java -version

```

That's it! You should now have Java installed on Ubuntu 16.04.