Guix

為什麼沒有為 guix 打包 OpenJDK 8?

  • February 3, 2021

當我搜尋 Guix 儲存庫時,只有 9 及以上版本的 OpenJDK,但我想安裝 OpenJDK 8。為什麼沒有版本 8?

$ guix search openjdk | recsel -p name,version
name: openjdk
version: 9.181

name: openjdk
version: 14.0

name: openjdk
version: 13.0

name: openjdk
version: 12.33

name: openjdk
version: 11.28

name: openjdk
version: 10.46

name: icedtea
version: 1.13.13

name: java-marlin-renderer
version: 0.9.4.2

name: icedtea
version: 3.7.0

name: icedtea
version: 2.6.13

顯然 OpenJDK 7 和 8 被命名為icedtea

$ guix environment --ad-hoc icedtea --pure
$ java -version
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (IcedTea 3.7.0) (guix build 1.8.0_161-b12)
OpenJDK 64-Bit Server VM (build 25.161-b12, mixed mode)

引用自:https://unix.stackexchange.com/questions/630797