Spring Boot Tutorial 0/110 lessons ~6 min read Lesson 4
Spring Boot Installation
Before writing your first endpoint you need three things: a JDK, a build tool (Maven or Gradle ships with starters), and an IDE.
Course progress0%
Focus
3 guided sections
Practice signal
Examples included
Career prep
Foundation builder
Introduction
Before writing your first endpoint you need three things: a JDK, a build tool (Maven or Gradle ships with starters), and an IDE. Skip system-wide JDKs — use a version manager like SDKMAN! to switch between projects.
Syntax reference
One-time setup (macOS / Linux):
bash
# 1. Install SDKMAN!curl -s "https://get.sdkman.io" | bashsource "$HOME/.sdkman/bin/sdkman-init.sh"# 2. Install Java 21 LTSsdk install java 21.0.4-tem# 3. (Optional) Install Mavensdk install maven# 4. Verifyjava -version # openjdk 21mvn -version # Apache Maven 3.9+
Best practices
- Use Eclipse Temurin JDK builds — free, vendor-neutral, audited.
- IDE: IntelliJ IDEA Ultimate (free for students) or Community + Spring plugin.
- Add
.sdkmanrcper project so teammates use the same JDK.
Ready to mark this lesson complete?Track your journey across the entire course.