JAVA 21.x on Ubuntu 22.04+
Prerequisites
Installation Steps
sudo apt update sudo apt upgrade -y
sudo apt install openjdk-21-jdk -y
java -versionopenjdk version "21.x.x"
Last updated
Was this helpful?
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.
Ensure the following requirements are met before proceeding:
Operating System: Ubuntu 22.04 or later
Privileges: A user account with sudo privileges or root access to the machine
Network: An active internet connection for accessing official package repositories
Update System Packages
Update the package repository and upgrade existing packages to the latest versions.
sudo apt update
sudo apt upgrade -yInstall Java 21
Install OpenJDK 21 from the default Ubuntu repositories.
sudo apt install openjdk-21-jdk -yVerify 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?
Was this helpful?

