Alright, let’s get that Java 21 installed for you!
First, we’re going to install the Adoptium JDK 21 using your package manager.
-
Update your package lists:
sudo apt update
-
Install the Adoptium JDK 21:
sudo apt install temurin-21-jdk
Once installed, we’ll need to configure AMP to use this new Java version. Let me know when you’ve got the JDK installed!