danlance
04/28/2022, 4:58 PMbox server java install openjdk11_jre_x64_linux_hotspot_jdk-11.0.15+10 --setDefault
this gives the following:
#11 13.96 × | Installing package [java:openjdk11_jre_x64_linux_hotspot_jdk-11.0.15+10:lockVersion]
#11 13.96 | Installing [openjdk11_jre_x64_linux_hotspot_jdk-11.0.15+10]
#11 13.96 | Java version: openjdk11
#11 13.96 | Java type: jre
#11 13.96 | Java arch: x64
#11 13.96 | Java os: linux
#11 13.96 | Java jvm-implementation: hotspot
#11 13.96 | Java release: jdk-11.0.15+10
#11 13.96 | Hitting the AdoptOpenJDK API to find your download.
#11 13.96 | <https://api.adoptopenjdk.net/v3/assets/version/%5B11%2C12%29?page_size>
#11 13.96 | =1000&release_type=ga&vendor=adoptopenjdk&project=jdk&heap_size=normal
#11 13.96 | &jvm_impl=hotspot&os=linux&architecture=x64&image_type=jre
#11 13.96 | This specific Java version doesn't seem to exist. Valid [openjdk11] r
#11 13.96 | eleases are [jdk-11.0.14.1+1, jdk-11.0.14+9, jdk-11.0.13+8, jdk-11.0.1
#11 13.96 | 2+7, jdk-11.0.11+9, jdk-11.0.10+9, jdk-11.0.9.1+1, jdk-11.0.9+11.1, jd
#11 13.96 | k-11.0.9+11, jdk-11.0.8+10].
#11 13.97 ERROR (5.4.2+00453)
#11 13.97
#11 13.97 This specific Java version doesn't seem to exist. Valid [openjdk11] releases are [jdk-11.0.14.1+1, jdk-11.0.14+9, jdk-11.0.13+8, jdk-11.0.12+7, jdk-11.0.11+9, jdk-11.0.10+9, jdk-11.0.9.1+1, jdk-11.0.9+11.1, jdk-11.0.9+11, jdk-11.0.8+10].
Looking at this, CommandBox is attempting to identify available java versions from https://api.adoptopenjdk.net/
If you go to https://api.adoptopenjdk.net/ then you see the following message:
AdoptOpenJDK has moved, the blue download button will take you to the new location.(blue button links to the adoptium link above) If I understand correctly, it would appear that the functionality for
box server java install
needs to be updated in order to get any releases subsequent to jdk-11.0.14.1+1
Is that something which is in the pipeline (and if so, when)?
If not, is there an alternate approach which can be safely used in the meantime to include and get box to use later java version?
we are using docker with our image with the base image using official docker image as follows:
FROM ortussolutions/commandbox:3.4.5
bdw429s
04/28/2022, 6:00 PMbdw429s
04/28/2022, 6:00 PMbdw429s
04/28/2022, 6:00 PMdanlance
04/28/2022, 6:01 PMdanlance
04/28/2022, 6:04 PMdanlance
04/28/2022, 6:05 PMdanlance
04/28/2022, 6:06 PMbdw429s
04/28/2022, 6:22 PMdanlance
04/28/2022, 6:22 PMdanlance
04/28/2022, 6:23 PMbdw429s
04/28/2022, 6:23 PMbdw429s
04/28/2022, 6:23 PMbdw429s
04/28/2022, 6:23 PMbdw429s
04/28/2022, 6:23 PMbdw429s
04/28/2022, 6:24 PMbdw429s
04/28/2022, 6:25 PMbdw429s
04/28/2022, 6:25 PMbdw429s
04/28/2022, 6:26 PMbdw429s
04/28/2022, 6:26 PMbdw429s
04/28/2022, 6:28 PMis there an easy sneaky back door to allow us to pull latest java 11 versionI don't know that adopt has actually set up a cut-off version per se. So far as I know, versions are still being added to the old API, I think they're just taking longer.
jclausen
04/28/2022, 6:30 PMjclausen
04/28/2022, 6:30 PMdanlance
04/28/2022, 6:33 PMdanlance
04/28/2022, 6:34 PMjclausen
04/28/2022, 6:47 PMbdw429s
04/28/2022, 6:48 PMbdw429s
04/28/2022, 6:48 PMdanlance
04/28/2022, 6:49 PMbdw429s
04/28/2022, 6:54 PMbdw429s
04/28/2022, 6:54 PMdanlance
04/28/2022, 6:55 PMbdw429s
04/28/2022, 6:56 PMbdw429s
04/28/2022, 6:56 PMbdw429s
04/28/2022, 6:57 PMdanlance
04/28/2022, 7:00 PMbdw429s
04/28/2022, 7:06 PMbdw429s
04/28/2022, 7:07 PMbdw429s
04/28/2022, 7:07 PMbdw429s
04/28/2022, 7:07 PMbdw429s
04/28/2022, 7:10 PMdanlance
04/28/2022, 7:12 PMbdw429s
04/28/2022, 7:13 PMdanlance
04/28/2022, 7:13 PMbdw429s
04/28/2022, 7:13 PMbdw429s
04/28/2022, 7:14 PMbdw429s
04/28/2022, 7:14 PMdanlance
04/28/2022, 7:14 PMbdw429s
04/28/2022, 7:14 PMbdw429s
04/28/2022, 7:14 PMbdw429s
04/28/2022, 7:15 PMdanlance
04/28/2022, 7:16 PMdanlance
04/28/2022, 7:16 PMdanlance
04/28/2022, 7:17 PMdanlance
04/28/2022, 7:19 PMdanlance
04/28/2022, 7:20 PMdanlance
04/28/2022, 7:21 PMdanlance
04/28/2022, 7:23 PMdanlance
04/28/2022, 7:43 PMENV JAVA_VERSION=jdk-11.0.14+9
Am I missing something?jclausen
04/28/2022, 7:45 PMdanlance
04/28/2022, 7:46 PMdanlance
04/28/2022, 7:46 PMjclausen
04/28/2022, 7:47 PMjclausen
04/28/2022, 7:48 PMdanlance
04/28/2022, 7:48 PMbdw429s
04/28/2022, 7:48 PMbdw429s
04/28/2022, 7:49 PMjclausen
05/03/2022, 3:55 PMdanlance
05/03/2022, 4:12 PM