Download Java 22 JDK

Find Java 22 Development Kit downloads for AIX, Linux, macOS, Windows. Choose a distribution and architecture to match your environment.

Available JDK downloads

Downloads are provided directly by the official JDK vendors. GetJDK does not modify JDK binaries.

  • Version: 24.0.2Mandrel
    Operating System
    macOS
    Architecture
    aarch64
    Java Package
    JDK
  • Version: 24.0.2Mandrel
    Operating System
    Windows
    Architecture
    amd64
    Java Package
    JDK
  • Version: 24.0.2Mandrel
    Operating System
    Linux glibc
    Architecture
    aarch64
    Java Package
    JDK
  • Version: 24.0.2Mandrel
    Operating System
    Linux glibc
    Architecture
    amd64
    Java Package
    JDK
  • Version: 24.0.1Mandrel
    Operating System
    Linux glibc
    Architecture
    aarch64
    Java Package
    JDK

About Java 22

Java 22 finalized unnamed variables and patterns. Review compiler settings when adopting these features.

An LTS label describes a release line, not a guarantee for every binary. Update availability and support terms depend on the distribution you choose.

Choose a Java 22 build

This catalog lists 17 distributions for Java 22. Available architecture labels include aarch64, amd64, arm, arm64, ppc64, ppc64le, riscv64, s390x, x64, x86; availability differs by operating system and vendor.

Choose JDK to compile Java code. If you only need a runtime, use More filters to check for JRE packages. An installer and a compressed archive can contain the same Java version but require different installation steps.

Verify your JDK installation

After installing, open a new terminal and check both commands. They should report Java 22. If they differ, check PATH, JAVA_HOME, and your IDE's selected JDK.

java -version
javac -version

Java 22 feature documentation