【发布时间】:2017-10-06 23:22:13
【问题描述】:
需要使用需要openjdk7的程序。运行 Debian 9 Mate。
当我尝试安装时得到以下内容
$sudo apt-get install openjdk-7-jre openjdk-7-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-7-jre-headless : Depends: tzdata-java but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
【问题讨论】:
-
尝试改用 openjdk-8-jre。严重地。大多数用 Java 编写的程序都将使用最新版本的 Java 运行。 “上游”源不再支持 Java 7。几年前就停产了。
-
根据 openjdk8-aarch64 端口的 README,openjdk7 是需要作为引导 jdk 来编译 openjdk8。不过,我找不到任何其他来源来证实这一点。