如何在 Debian 10 (Buster) 上安装 openjdk-8-jdk?

2022-01-24 00:00:00 debian java-8 java

由于安全问题,Debian 似乎不再支持 openjdk-8-jdk.为 Debian 10 (Buster) 安装 openjdk-8-jdk 的最简单方法是什么?

It seems Debian does not support openjdk-8-jdk anymore due to a security issue. What is the easiest way to install openjdk-8-jdk for Debian 10 (Buster)?

推荐答案

或者,你可以使用adoptopenjdk存储库:

Alternatively, you can use adoptopenjdk repository:

wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/

sudo apt-get update && sudo apt-get install adoptopenjdk-8-hotspot

https://adoptopenjdk.net/installation.html

相关文章