Spring Boot / Installation & setup
CLI tools & setup
Prepare your workspace, run a small example and check the result before starting the course.
A terminal is where you type commands. A runtime or compiler runs your code; a package manager installs project dependencies. Follow the tools and command surfaces named in this course’s guide.
Already set up? Continue to Spring Terminology →
BEFORE THE FIRST CODING TASK
Your computer, ready to learn.
A Spring Boot web project
Create a new practice folder in your editor and open its integrated terminal there. Use a separate folder from personal or production projects. Install a compatible JDK. At Spring Initializr choose Maven, Java, a stable supported release, package name com.example.pebells and the Spring Web dependency. Download and extract the new project.
Already configured? Run the verification steps and continue. Use the command surface labelled beside each snippet, such as your terminal or SQL console.
Files to create
Save these files in the practice folder described above before running its file commands.
package com.example.pebells;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloController {
@GetMapping("/")
public String hello() {
return "My workspace is ready";
}
}
- 1
Open a terminal inside the extracted project, check Java, and save the controller file shown below.
Windows · Terminaljava --versionWhat you should see: Java reports a version supported by the generated project.
Something didn’t work?
Check the generated build requirements and package name before running.
- 2
Use the generated Maven wrapper to start the application.
Windows · Terminal.\mvnw.cmd spring-boot:runWhat you should see: The server starts. Open its printed local port at path / and see: My workspace is ready
Something didn’t work?
If a Unix wrapper lost execute permission during extraction, restore permission on that wrapper only. Check JDK compatibility, package scanning and port conflicts.
Check it yourself
Change the controller message, restart as required and verify the new response. Explain the difference between a running Java process and a reachable HTTP route.
This is a self-check; it does not mark a lesson or course complete.
Official setup guides & version requirements
My workspace notes
Notes stay in this browser. They are not uploaded or assessed.