joschi / java-metadata Goto Github PK
View Code? Open in Web Editor NEWProject collecting release metadata of various JDK distributions.
Home Page: https://joschi.github.io/java-metadata/index.html
License: MIT License
Project collecting release metadata of various JDK distributions.
Home Page: https://joschi.github.io/java-metadata/index.html
License: MIT License
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:
{
"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"
},
zulu8.64.0.19-ca-jdk8.0.345-macosx_aarch64.tar.gz
:But can find other versions for this platform.
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"
Currenty the metadata API does not allow to find JDKs by their major version, I wonder if this could be useful for tools like asdf-vm or others.
https://joschi.github.io/java-metadata/
This might be useful for halcyon/asdf-java#92
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
The AdoptOpenJDK API and the Eclipse Adoptium API started returning archives for static libraries and for sources of the given OpenJDK releases which shouldn't be listed in this project.
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™.
There are some bad releases added in the latest commit that are causing some problems for me with null values
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
Liberica Native Image Kit
A versatile multilingual tool for accelerating your applications.
Based on GraalVM Open Source.
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
.
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!
The README currently says:
Field name Description file_type
tar.gz
,zip
,dmg
,msi
However, it appears it also returns these other file types (list might be incomplete):
rpm
deb
https://www.hikunpeng.com/en/developer/devkit/compiler?data=JDK
It supports only Linux/AArch64
Hello,
The Azul Zulu version 8.76.0.17 is missing from the list.
Per https://static.azul.com/zulu/bin it was recently released (2024-01-10).
AdoptOpenJDK is now part of the Eclipse Foundation. The Eclipse Foundation has rebranded AdoptOpenJDK as Adoptium. This has resulted in stale AdoptOpenJDK metadata. Please update to use https://api.adoptium.net/ to restore fresh metadata. More details can be found at https://adoptium.net/
I looked through the actions run, and I looked at the shell files that do the update, and it seems like it should be working, and yet, there's no graalvm for java21 in the api: https://github.com/graalvm/graalvm-ce-builds/releases/tag/jdk-21.0.0
Thanks!
add the jetbrains java runtimes in order to support asdf and mise downloading them
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.