我需要用 8 替换 Java JDK 11,因为这是唯一适用于 Buildozer 的 Java 版本。
11 安装在我的机器上:
openjdk 11.0.5 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04)
OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04, mixed mode, sharing)
当我跑步时sudo apt-get remove openjdk-11-jdk
我得到:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'openjdk-11-jdk' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
我能做些什么 ?
答案1
通过运行解决问题:sudo apt-get remove openjdk-*