Skip to content

A Jabba compatible index of JDK versions

License

Notifications You must be signed in to change notification settings

typelevel/jdk-index

jdk-index

A Jabba-compatible index of JDK versions

Availability of JDK versions

This index aims to provide only up-to-date versions of the JDK. Any non-LTS versions will be removed soon after reaching EOL (usually with the release of the next version of the JDK). EOL releases do not receive security or bug fix updates and there is no reason to stay on them, people are very much encouraged to upgrade. Soon after publishing the latest builds for the current JDKs, they will replace the old, out-of-date build (this usually happens every 3 months). There is also no possibility to select a specific build of the JDK (unless going through the commit history and depending on a specific version in time of this index). This is a common practice with the new release schedule of JDKs and users should be aware by now.

Available JDK vendors

  • Eclipse Temurin
    • JDK 23 – temurin@23
    • JDK 22 – temurin@22
    • JDK 21 – temurin@21
    • JDK 17 – temurin@17
    • JDK 11 – temurin@11
    • JDK 8 – temurin@8
  • GraalVM
    • JDK 23 – graalvm@23
    • JDK 22 – graalvm@22
    • JDK 21 – graalvm@21
    • JDK 17 – graalvm@17
  • Eclipse OpenJ9
    • JDK 23 – openj9@23
    • JDK 22 – openj9@22
    • JDK 21 – openj9@21
    • JDK 17 – openj9@17
    • JDK 11 – openj9@11
    • JDK 8 – openj9@8
  • Amazon Corretto
    • JDK 23 – corretto@23
    • JDK 22 – corretto@22
    • JDK 21 – corretto@21
    • JDK 17 – corretto@17
    • JDK 11 – corretto@11
    • JDK 8 – corretto@8
  • Oracle
    • JDK 23 – oracle@23
    • JDK 22 – oracle@22
    • JDK 21 – oracle@21
    • JDK 17 – oracle@17

Users are encouraged to open an issue or PR for adding a new vendor.

GitHub Actions

This index is useful to test your code on versions not yet available on GitHub Actions. The recommended way to do this is with the typelevel/download-java action.

Alternatively, if you are using jabba (for example olafurpg/setup-scala uses jabba), you can add a JABBA_INDEX environment to your ci.yml. Point at a specific commit for reproducibility, or main to get the latest:

env:
  JABBA_INDEX: 'https://github.com/typelevel/jdk-index/raw/main/index.json'

Contributing to this project

src/main/scala/org/typelevel/jdk/index/index.scala is the main source of truth for the JDK index. Edit that file by adding, removing or editing the available releases (for adding new vendors and CPU architectures, edits to the enums in the model package might be needed). Afterwards, run

sbt generateIndex

to regenerate the index.json file.

About

A Jabba compatible index of JDK versions

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages