Skip to content
Home » java

java

INSTALL JAVA ON RASPBERRY PI 4

This one is quick and easy.  It will allow you to install the latest java version on a Raspberry Pi 4.

Boot to your desktop

Open the Terminal

Type:
sudo apt update
sudo apt install default-jdk

Once the installation is complete, verify it by checking the Java version:
java --version

That’s it! Thanks for reading


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