Closed sooheon closed 5 years ago
@sooheon Please run the following 1 command and comment with the output:
curl -s -L "https://api.adoptopenjdk.net/v2/info/releases/{openjdk13}?type=jdk" | jq '(.[].release_name)'
curl -s -L "https://api.adoptopenjdk.net/v2/info/releases/{openjdk13}?type=jdk" | jq '(.[].release_name)' "jdk-13+33" "jdk-13+33_openj9-0.16.0"
@sooheon Please join me at https://gitter.im/asdf-java/community
Issue was homebrew's jq
install (on Catalina). Downloading binary directly from jq site and putting it on path renamed to jq
solves the issue.
Test jq function with:
curl -s -L "https://api.adoptopenjdk.net/v2/info/releases/{openjdk13}?type=jdk" | jq '(.[].release_name) |= sub("jdk-";"adopt-openjdk-") | (.[].release_name) |= sub("^jdk";"adopt-openjdk-")'
I've tried fixes in #18, #14, and #21.