joschi / java-metadata

Project collecting release metadata of various JDK distributions.
https://joschi.github.io/java-metadata/index.html
MIT License
32 stars 10 forks source link

Not all Zulu versions are available for Linux aarch64 #27

Open donbeave opened 1 year ago

donbeave commented 1 year ago

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"
  },

2) 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.

joschi commented 1 year ago

The reason why this particular version of the Azul Zulu build of OpenJDK is missing is because it is not listed on https://static.azul.com/zulu/bin/ which this project is using for a complete listing of available versions:

❯ curl -s 'https://static.azul.com/zulu/bin/' | grep zulu8.64.0.19-ca-jdk8.0.345-linux_
<img src="/icons/unknown.gif" alt="[   ]"> <a href="zulu8.64.0.19-ca-jdk8.0.345-linux_amd64.deb">zulu8.64.0.19-ca-jdk8.0.345-linux_amd64.deb</a>              2022-08-05 22:06   85M  
<img src="/icons/compressed.gif" alt="[   ]"> <a href="zulu8.64.0.19-ca-jdk8.0.345-linux_i686.tar.gz">zulu8.64.0.19-ca-jdk8.0.345-linux_i686.tar.gz</a>            2022-08-05 22:06  106M  
<img src="/icons/compressed.gif" alt="[   ]"> <a href="zulu8.64.0.19-ca-jdk8.0.345-linux_i686.zip">zulu8.64.0.19-ca-jdk8.0.345-linux_i686.zip</a>               2022-08-05 22:06  110M  
<img src="/icons/compressed.gif" alt="[   ]"> <a href="zulu8.64.0.19-ca-jdk8.0.345-linux_musl_aarch64.tar.gz">zulu8.64.0.19-ca-jdk8.0.345-linux_musl_aarch64.tar.gz</a>    2022-08-05 22:07  103M  
<img src="/icons/compressed.gif" alt="[   ]"> <a href="zulu8.64.0.19-ca-jdk8.0.345-linux_musl_x64.tar.gz">zulu8.64.0.19-ca-jdk8.0.345-linux_musl_x64.tar.gz</a>        2022-08-05 22:07  104M  
<img src="/icons/compressed.gif" alt="[   ]"> <a href="zulu8.64.0.19-ca-jdk8.0.345-linux_x64.tar.gz">zulu8.64.0.19-ca-jdk8.0.345-linux_x64.tar.gz</a>             2022-08-05 22:07  103M  
<img src="/icons/compressed.gif" alt="[   ]"> <a href="zulu8.64.0.19-ca-jdk8.0.345-linux_x64.zip">zulu8.64.0.19-ca-jdk8.0.345-linux_x64.zip</a>                2022-08-05 22:07  108M

The regular non-musl builds for aarch64 on Linux are missing since at least Zulu build of OpenJDK 8.5.0.1-ca-jdk8.0.31. The last one which is available on https://static.azul.com/zulu/bin/ is zulu8.48.2.244-ca-jdk8.0.262-linux_aarch64.tar.gz which is also covered by this project: https://joschi.github.io/java-metadata/metadata/vendor/zulu/zulu8.48.2.244-ca-jdk8.0.262-linux_aarch64.tar.gz.json

@GeertjanWielenga Is this something you could kindly help with?

Are all Azul Zulu builds of OpenJDK supposed to end up on https://static.azul.com/zulu/bin/ as before?