Skip to content
Home » Raspberry Pi » INSTALL JAVA 8 ON RASPBERRY PI

INSTALL JAVA 8 ON RASPBERRY PI

During the Hadoop build for my Raspberry Pi 4 Cluster, I have come across the need to install Java 8, which is different than the version out today (Java 11). To install Java 8 onto Raspbian, simply perform the following steps

Open a Terminal
sudo bash
apt-get update
apt install openjdk-8-jdk
y

Java 8 will now install. Once it completes, you can verify it works by typing the following
java –version


That’s it!

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Thanks for reading…….