Courses
Module 1. Initialize Project

Install Java

To install Java we will use SDKMAN!

SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on Unix based systems. It’s useful for installing multiple versions of Java, Maven, Spring CLI, etc.

Steps to install SDKMAN!

sudo apt install -y unzip zip curl

Install curl, unzip, and zip.

curl tool is required to download installation script.

unzip and zip tools are used in installation script.
curl -s "https://get.sdkman.io" | bash
Download and execute the installation script.
source ~/.sdkman/bin/sdkman-init.sh
Complete the installation.
sdk version
Check the SDKMAN! version

Install Java

sdk install java 24.0.2-tem
Install Java using SDKMAN!
java --version
Check Java installation