https://stackoverflow.com/questions/51823767/cannot-install-openjdk-8-on-ubuntu-18-04?r=SearchResults 在你的 /etc/apt/sources.list 中加入如下一行: deb http://security.ubuntu.com/ubuntu bionic-security main universe