如何在alpine linux上安装Java环境(jdk)jdk1.8.0_45?

如何在alpine linux上安装Java环境(jdk)jdk1.8.0_45?

当我查看软件包列表时,他们建议 Alpine 存在各种 Java 1 软件包,但当我尝试安装它们时,我总是得到

apk add openjdk1=1.8.0_45-b14 
apk add openjdk1=1.8.0_45-b14 
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz
ERROR: 'openjdk1=1.8.0_45-b14' is not a valid world dependency, format is name(@tag)([<>~=]version)

相关内容