Open a new Command Prompt (restart if already open) and type:

java -version
javac -version

Expected output (example):

java version "17.0.9" 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing)

If you see 'java' is not recognized, your PATH is incorrect – recheck the bin folder path.


It's already in the JDK. Example usage:

jlink --module-path mymods --add-modules com.myapp --output myimage

The filename jdk17_windows-x64_bin.exe follows the standard Oracle naming convention:

Before sharing the link, it’s crucial to understand why JDK 17 is the industry standard as of 2025-2026:

Non-LTS versions (e.g., JDK 18, 19, 20, 21, 22) are feature releases with only 6 months of support. For production, stick with JDK 17.


A: The .exe adds registry keys, uninstaller, and optionally sets PATH. The .zip is portable – just extract and set PATH manually.


  • Find the Path variable, click Edit.
  • Click New and add: %JAVA_HOME%\bin
  • Click OK on all windows.
  • JDK 17 is a long-term support (LTS) release of the Java Development Kit, which is a development environment for building applications, applets, and components using the Java programming language. This version, released in September 2021, comes with numerous enhancements and new features aimed at improving the performance, stability, and usability of the Java platform.

    winget install Oracle.JDK.17