How to install openjdk-8-jdk on Debian 10 (Buster)?

后端 未结 9 1363
别跟我提以往
别跟我提以往 2020-12-23 09:06

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)?

9条回答
  •  时光说笑
    2020-12-23 09:44

    The easiest way to install JDK8 is using SDKMAN.

    $ curl -s "https://get.sdkman.io" | bash
    $ source "$HOME/.sdkman/bin/sdkman-init.sh"
    $ sdk install java 8.0.275.hs-adpt
    

提交回复
热议问题