gpt4 book ai didi

Debian 9 openjdk-7-jre 和 openjdk-7-jre-headless

转载 作者:行者123 更新时间:2023-12-01 18:05:14 28 4
gpt4 key购买 nike

需要使用需要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-7* 不适用于通过 apt 的 Debian Stretch,它仅适用于 Debian jessie , Sid and experimental .

正确的软件包版本是openjdk-8-jdkopenjdk-8-jre-headless ,要在 debian 9 上安装它,请运行:

sudo apt update 
sudo apt install openjdk-8-jdk openjdk-8-jre-headless

关于Debian 9 openjdk-7-jre 和 openjdk-7-jre-headless,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46615152/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com