JAVA 21.x on Ubuntu 22.04+
This article provides the steps to install Java 21 on an Ubuntu machine. The procedure includes updating system packages, installing the required Java Development Kit (JDK), and verifying the installation. This setup is required for applications and connectors that depend on Java runtime support within the OvalEdge platform.
Prerequisites
Ensure the following requirements are met before proceeding:
Operating System: Ubuntu 22.04 or later
Privileges: A user account with
sudoprivileges or root access to the machineNetwork: An active internet connection for accessing official package repositories
Installation Steps
Update System Packages
Update the package repository and upgrade existing packages to the latest versions.
sudo apt update sudo apt upgrade -y
Install Java 21
Install OpenJDK 21 from the default Ubuntu repositories.
sudo apt install openjdk-21-jdk -y
Verify Installation
Verify that Java is installed successfully by checking the version.
java -versionExpected Output:
openjdk version "21.x.x"
Copyright © 2026, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

