GithubHelp home page GithubHelp logo

joschi / java-metadata Goto Github PK

View Code? Open in Web Editor NEW
31.0 4.0 9.0 4.23 GB

Project collecting release metadata of various JDK distributions.

Home Page: https://joschi.github.io/java-metadata/index.html

License: MIT License

java release-metadata openjdk jdk zulu-openjdk adoptopenjdk corretto liberica liberica-java dragonwell8

java-metadata's Issues

Not all Zulu versions are available for Linux aarch64

Hello!

I can not find Azul Zulu: 8.64.0.19 (8u345b01) version in asdf list-all java command on Linux ARM64 for the version which is available for that platform:
https://www.azul.com/downloads/?version=java-8-lts&architecture=arm-64-bit&package=jdk

And I found that this version is available in source JSON files which are used for generating index metadata files for macOS ARM, but not available to Linux ARM:

  1. In this file you can find an object for macOS:
    https://joschi.github.io/java-metadata/metadata/ga/macosx/aarch64.json
  {
    "architecture": "aarch64",
    "features": [],
    "file_type": "tar.gz",
    "filename": "zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz",
    "image_type": "jdk",
    "java_version": "8.0.345",
    "jvm_impl": "hotspot",
    "md5": "ac812c89a98cbd1dd45eabbfd506a975",
    "md5_file": "zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz.md5",
    "os": "macosx",
    "release_type": "ga",
    "sha1": "0ad8cef5875a963dd330b35bc07ed7403ac2942a",
    "sha1_file": "zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz.sha1",
    "sha256": "b7516f10489f9e787d330a478bfa2efdf7b9cb3c0186832b2c010557c5b2ba5f",
    "sha256_file": "zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz.sha256",
    "sha512": "8a9d2ba1a4ed793537d7aa95c8a183e0cfc623ea14ae8edd0a0361fa8c8dcd335f205c879f8c9bbe74d2207f801f33eac89a86ef5fd4ec55f3c6386225ab785f",
    "sha512_file": "zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz.sha512",
    "size": 106047013,
    "url": "https://static.azul.com/zulu/bin/zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz",
    "vendor": "zulu",
    "version": "8.64.0.19"
  },
  1. But in this file you can not find any mention of zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz:
    https://joschi.github.io/java-metadata/metadata/ga/linux/aarch64.json

But can find other versions for this platform.

AdoptOpenJDK 15 is not listed

I am using asdf as a package manager, and I noticed that AdoptOpenJDK 15 is not listed. I know that asdf java plugin rely on this metadata site to generate its listing. So while inspecting the output, I notice the JDK 15 is not listed in the following output :

curl -X GET "https://joschi.github.io/java-metadata/metadata/ga/macosx/x86_64/jdk/hotspot/adoptopenjdk.json" -H  "accept: application/json"

Corretto 17 is not available

I noticed that asdf java does not list Corretto 17. Indeed when I look at the available metadata it's not listed either.

Reprocucer

$ curl -X 'GET' 'https://joschi.github.io/java-metadata/metadata/ga/linux/x86_64/jdk/hotspot/corretto.json' -H 'accept: application/json' | jq '.[].java_version' | grep "17\."

Releases have been available for 4days at the time of this issue creation.
https://github.com/corretto/corretto-17/releases

Incorrect Usage example in README

The README says:

You can fetch the latest metadata for all Zulu Community™ releases at the following URL:

https://joschi.github.io/java-metadata/metadata/all.json

However, it appears that API end-point returns releases from all vendors, not only from Zulu Community™.

amazon-corretto-18.0.2.9.1-macosx-aarch64.tar.gz has wrong checksum

The checksum for amazon-corretto-18.0.2.9.1-macosx-aarch64.tar.gz is wrong:

❯ curl https://corretto.aws/downloads/resources/18.0.2.9.1/amazon-corretto-18.0.2.9.1-macosx-aarch64.tar.gz | sha256sum
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  178M  100  178M    0     0  34.1M      0  0:00:05  0:00:05 --:--:-- 37.5M
f003000033a25d0ce8f00adfc1b88935da0d330b0ab5587c520f793869415462  -
❯ curl https://joschi.github.io/java-metadata/checksums/corretto/amazon-corretto-18.0.2.9.1-macosx-aarch64.tar.gz.sha256
a2a25da58e280e762397ab5bf815833690ab0f9d9531da97c471a57428c479b2  amazon-corretto-18.0.2.9.1-macosx-aarch64.tar.gz

Also see https://github.com/corretto/corretto-18/releases/tag/18.0.2.9.1

Zulu JDK 17 stuck at 17.46.19

It appears that the index for Zulu JDK 17 does not go any farther than 17.46.19, even though on the Azul site there have been newer releases including the most recent which appears to be 17.48.15.

I believe this is due to an unexpected entry in the file list the update scripts receive from the Azul archive. It has problems with names like zre9.0.0.15-jre9.0.0-macosx_x64.dmg, which end up causing the script to exit early, before its able to update files like all.json.

You can see the script exiting early in the Github actions runs around here, for example - https://github.com/joschi/java-metadata/actions/runs/8331606613/job/22798869808#step:4:9457

Here is a PR that somewhat crudely works around the problem by ignoring entries containing zre.

Oracle JDK and Oracle GraalVM version details seem to have moved.

It looks like https://www.oracle.com/java/technologies/downloads/ is now the go-to place for recent "script-friendly" URLs for releases.

While https://www.oracle.com/java/technologies/javase/graalvm-jdk21-archive-downloads.html exists, the latest https://www.oracle.com/java/technologies/javase/graalvm-jdk22-archive-downloads.html doesn't exist (or doesn't exist yet).

Not sure what the preferred way of handling this would be, but I could attempt to put a PR together to add support for the new overview page to extract version info.
I guess it would probably go in here? https://github.com/joschi/java-metadata/blob/main/bin/oracle-graalvm.bash

Guidance on how best to handle this change is welcome.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.