The .exe installer is generally preferred over the compressed archive ( .zip ) for most Windows users because it automates complex setup tasks:

where java

The JDK 17 x64 Installer ( ) is generally superior for Windows users because it offers automated file extraction and system path configuration. While the compressed archive allows for portable use and side-by-side installations, the installer simplifies management and environment setup. For more details, visit docs.oracle.com Stack Overflow

// Works out of the box on JDK 17 Windows x64 System.out.println("\u001B[32mBuild successful\u001B[0m");