当我搜索 Guix 存储库时,只有 OpenJDK 9 及更高版本,但我想安装 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
答案1
显然 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)