sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.15k stars 633 forks source link

Bug: Java 17.0.7-amzn, 17.0.8-amzn not available anymore #1260

Open hong823 opened 11 months ago

hong823 commented 11 months ago

Bug report Java 17.0.7-amzn, 17.0.8-amzn was suddenly not available anymore, whereas 17.0.6-amzn, 17.0.9-amzn is still available.

To reproduce

  1. Install sdkman cli
  2. Using sdkman, install java 17.0.7-amzn, 17.0.8-amzn
    sdk list java
    sdk install java 17.0.9-amzn
    sdk install java 17.0.8-amzn
    sdk install java 17.0.7-amzn
    sdk install java 17.0.6-amzn
  3. Noticed the Validate java 17.0.8-amzn for linuxx64: invalid error below on Java 17.0.7-amzn, 17.0.8-amzn
    
    bash-5.2# sdk list java
    ================================================================================
    Available Java Versions for Linux 64bit
    ================================================================================
    Vendor        | Use | Version      | Dist    | Status     | Identifier
    --------------------------------------------------------------------------------
    Corretto      |     | 21.0.1       | amzn    |            | 21.0.1-amzn
               |     | 17.0.9       | amzn    |            | 17.0.9-amzn
               |     | 11.0.21      | amzn    |            | 11.0.21-amzn
               |     | 8.0.392      | amzn    |            | 8.0.392-amzn
    Dragonwell    |     | 17.0.9       | albba   |            | 17.0.9-albba
               |     | 11.0.20      | albba   |            | 11.0.20-albba
               |     | 8.0.382      | albba   |            | 8.0.382-albba
    ......

bash-5.2# sdk install java 17.0.9-amzn Using existing cache: activemq,ant,asciidoctorj,ballerina,bld,bpipe,btrace,concurnas,connor,coursier,cuba,cxf,detekt,doctoolchain,flink,gaiden,gcn,gradle,gradleprofiler,grails,groovy,groovyserv,hadoop,helidon,http4k,infrastructor,jarviz,java,jbake,jbang,jikkou,jmc,jmeter,joern,jreleaser,karaf,kcctl,ki,kobweb,kotlin,kscript,ktlint,ktx,layrry,leiningen,maven,mcs,micronaut,mulefd,mvnd,mybatis,neo4jmigrations,pierrot,pomchecker,quarkus,sbt,scala,scalacli,schemacrawler,skeletal,spark,springboot,sshoogr,taxi,test,tomcat,toolkit,vertx,visualvm,webtau,znai Validate java 17.0.9-amzn for linuxx64: valid Validation URL: https://api.sdkman.io/2/candidates/validate/java/17.0.9-amzn/linuxx64

Downloading: java 17.0.9-amzn

In progress... ......

bash-5.2# sdk install java 17.0.8-amzn Using existing cache: activemq,ant,asciidoctorj,ballerina,bld,bpipe,btrace,concurnas,connor,coursier,cuba,cxf,detekt,doctoolchain,flink,gaiden,gcn,gradle,gradleprofiler,grails,groovy,groovyserv,hadoop,helidon,http4k,infrastructor,jarviz,java,jbake,jbang,jikkou,jmc,jmeter,joern,jreleaser,karaf,kcctl,ki,kobweb,kotlin,kscript,ktlint,ktx,layrry,leiningen,maven,mcs,micronaut,mulefd,mvnd,mybatis,neo4jmigrations,pierrot,pomchecker,quarkus,sbt,scala,scalacli,schemacrawler,skeletal,spark,springboot,sshoogr,taxi,test,tomcat,toolkit,vertx,visualvm,webtau,znai Validate java 17.0.8-amzn for linuxx64: invalid Validation URL: https://api.sdkman.io/2/candidates/validate/java/17.0.8-amzn/linuxx64

Stop! java 17.0.8-amzn is not available. Possible causes:

Tip: see all available versions for your platform:

$ sdk list java ......

bash-5.2# sdk install java 17.0.7-amzn Using existing cache: activemq,ant,asciidoctorj,ballerina,bld,bpipe,btrace,concurnas,connor,coursier,cuba,cxf,detekt,doctoolchain,flink,gaiden,gcn,gradle,gradleprofiler,grails,groovy,groovyserv,hadoop,helidon,http4k,infrastructor,jarviz,java,jbake,jbang,jikkou,jmc,jmeter,joern,jreleaser,karaf,kcctl,ki,kobweb,kotlin,kscript,ktlint,ktx,layrry,leiningen,maven,mcs,micronaut,mulefd,mvnd,mybatis,neo4jmigrations,pierrot,pomchecker,quarkus,sbt,scala,scalacli,schemacrawler,skeletal,spark,springboot,sshoogr,taxi,test,tomcat,toolkit,vertx,visualvm,webtau,znai Validate java 17.0.7-amzn for linuxx64: invalid Validation URL: https://api.sdkman.io/2/candidates/validate/java/17.0.7-amzn/linuxx64

Stop! java 17.0.7-amzn is not available. Possible causes:

Tip: see all available versions for your platform:

$ sdk list java ......

bash-5.2# sdk install java 17.0.6-amzn Using existing cache: activemq,ant,asciidoctorj,ballerina,bld,bpipe,btrace,concurnas,connor,coursier,cuba,cxf,detekt,doctoolchain,flink,gaiden,gcn,gradle,gradleprofiler,grails,groovy,groovyserv,hadoop,helidon,http4k,infrastructor,jarviz,java,jbake,jbang,jikkou,jmc,jmeter,joern,jreleaser,karaf,kcctl,ki,kobweb,kotlin,kscript,ktlint,ktx,layrry,leiningen,maven,mcs,micronaut,mulefd,mvnd,mybatis,neo4jmigrations,pierrot,pomchecker,quarkus,sbt,scala,scalacli,schemacrawler,skeletal,spark,springboot,sshoogr,taxi,test,tomcat,toolkit,vertx,visualvm,webtau,znai Validate java 17.0.6-amzn for linuxx64: valid Validation URL: https://api.sdkman.io/2/candidates/validate/java/17.0.6-amzn/linuxx64

Downloading: java 17.0.6-amzn

In progress... ......


**System info**
- OS (e.g. Windows, Linux, Mac, Cygwin, WSL, etc.) and version: Linux amd64
- Shell and version (e.g. `bash --version`/`zsh --version`): 5.2.15(1)-release (x86_64-amazon-linux-gnu)
- The output of `sdk version`

SDKMAN! script: 5.18.2 native: 0.4.3

jhlee8804 commented 21 hours ago

Same here