Install Java
If the command is not recognized
Version to install
Java 25 LTS, the Eclipse Temurin JDK. Java 27 is a six-month release, so do not install it.
Checked: 20 October 2026.
Steps on Windows
- Open https://adoptium.net/temurin/releases/?version=25.
- Choose Windows, x64, JDK, .msi, and download it.
- Open the file and install it.
- Close the terminal and open a new one.
- Type java -version.
Check
The answer should show 25.
java -version
Difference from the old version
Java 21 is the older LTS. For a new setup, take 25.