Download Java 17 LTS

Free Java 17 JDK downloads for Windows, macOS (Apple Silicon and Intel) and Linux, from every trusted OpenJDK vendor. Released September 2021. All downloads go to the official vendor page.

πŸ“… September 2021 🏷 LTS πŸ†“ Free OpenJDK πŸ–₯ Windows Β· Mac Β· Linux

Key features introduced in Java 17: Sealed classes, pattern matching for instanceof, records (finalised), text blocks, enhanced pseudo-random number generators.

Java 17 β€” Eclipse Temurin

Java 17 β€” Microsoft

Java 17 β€” Amazon Corretto

Java 17 β€” Azul Zulu

Java 17 β€” Oracle

⚠ Oracle JDK requires a paid subscription for commercial production use. For free production use, pick Eclipse Temurin, Microsoft, Amazon Corretto or Azul Zulu above.

After you download Java 17

  1. Run the installer (.msi on Windows, .pkg on macOS) or extract the tarball (.tar.gz on Linux).
  2. On Windows, make sure "Add to PATH" and "Set JAVA_HOME" are checked during install.
  3. Open a new terminal (the old one won't see the updated PATH).
  4. Verify:
    java -version
    # expected: openjdk version "17.x.x"

Detailed per-OS install guides:

Should I pick Java 17?

Yes, if your framework or organisation has not yet moved to 21. Java 17 LTS introduced records, sealed classes and pattern matching for instanceof β€” widely deployed and supported by Spring Boot 3.x. Free support through at least 2027.

Related downloads