Войти
  • 32Просмотров
  • 1 неделя назадОпубликованоSanil Bagzai

Install Java on Ubuntu in 17 Minutes!

Learn how to install Java on Ubuntu LTS quickly and easily! In this step-by-step guide, I'll show you how to install multiple versions of OpenJDK (8, 11, 17, and 21) and—most importantly—how to switch between them using the command line. Whether you are setting up a fresh development environment or need a specific Java version for a project, this video covers it all in under 2 minutes. 🔗 **RESOURCES & LINKS** --------------------------------------------------- 🌐 Visit my Website: 📄 Download the Presentation (PPT): ⏱️ **TIMESTAMPS** --------------------------------------------------- ::: Explanation ::: 0:00 - Introduction 1:48 - Update package repository 2:04 - Check for existing Java versions 3:25 - How to search available Java versions 4:10 - Installing Java (OpenJDK 8, 11, 17, 21) 6:00 - Verifying the installation 6:30 - How to switch default Java version (update-alternatives) ::: Demo ::: 8:00 - Demo Started 8:08 - Update package repository 9:15 - Check for existing Java versions 9:52 - How to search available Java versions 10:53 - Installing Java (OpenJDK 8, 11, 17, 21) 12:26 - Verifying the installation 13:23 - How to switch default Java version (update-alternatives) 💻 **COMMANDS USED IN THIS VIDEO** --------------------------------------------------- Checking Version: $ java --version Updating Ubuntu: $ sudo apt update Installing Java (All Versions): $ sudo apt install openjdk-8-jdk openjdk-11-jdk openjdk-17-jdk openjdk-21-jdk Switching Default Version: $ sudo update-alternatives --config java --------------------------------------------------- #Ubuntu #Java #Linux #Programming #OpenJDK #Ubuntu2404 #NobleNumbat If this video helped you, please hit the generic LIKE button and SUBSCRIBE for more Linux and Programming tutorials!