How to Install JDK 21 on Ubuntu 22.04 (2024)

preview_player
Показать описание
In this video, we will install JDK 21 on Ubuntu 22.04. Install JDK enables us to write and test java applications.

Commands to Install JDK 21 in Ubuntu 22.04:
1. sudo apt update
2. sudo apt install openjdk-21-jdk

🌐Connect with me:

After following the video, and using the commands above, you'll be able to install JDK 21 in your ubuntu machine. If you have any problems trying to install JDK 21, let me know in the comments below.

#jdk21 #linux #javadevelopment
Рекомендации по теме
Комментарии
Автор

thanks, i was on java 17 and it went to 21. had to go through a lot of guides before this one and this one finally worked!

JasonXYT
Автор

i have a weird bug were it tells me that "The package jdk-19 needs ti be reinstalled, but I cant find an archive for it." even though i never had 19 :/

philippbassauer
welcome to shbcf.ru