Part 01 / Topic 2 of 9
The toolchain on this machine
This course's toolchain was installed with Homebrew and is recorded, with the exact install transcript,
in ../../TOOLING.md. Confirming it still matches takes two commands:
$ kotlinc -version
info: kotlinc-jvm 2.4.21 (JRE 21.0.11+10-LTS)
$ java -version
openjdk version "21.0.11" 2026-04-21 LTS
OpenJDK Runtime Environment Corretto-21.0.11.10.1 (build 21.0.11+10-LTS)
OpenJDK 64-Bit Server VM Corretto-21.0.11.10.1 (build 21.0.11+10-LTS, mixed mode, sharing)
Both report 2.4.21 for the compiler and 21 for the JDK — a JDK 21 LTS build (Corretto), installed
as a dependency of the kotlin Homebrew formula, not a separate manual install. If kotlinc -version
fails on your machine, install it the same way: brew install kotlin on macOS, or see
kotlinlang.org/docs/command-line.html for Windows/Linux.
Done here? The practice set for Part 1 — including the solutions — is on the part page.