[英]ubuntu install OpenJDK 7 failed
When I install OpenJDK I get a message on console: 当我安装OpenJDK时,我在控制台上收到一条消息:
seekting@seekting-2016:~$ sudo apt-get install openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-7-jre is a virtual package provided by:
oracle-java9-installer 9b140+9b140arm-1~webupd8~3
oracle-java8-installer 8u111+8u111arm-1~webupd8~0
oracle-java7-installer 7u80+7u60arm-0~webupd8~1
You should explicitly select one to install.
What can I do to successfully install the OpenJDK? 如何成功安装OpenJDK?
You can search the openjdk first like this 您可以像这样首先搜索openjdk
apt-cache search openjdk
then choose the correct jdk to install 然后选择正确的jdk进行安装
I run the command 我运行命令
apt-cache search openjdk
and there are no openjdk-7 version, there just have openjdk-8, and openjdk-9, so, maybe you can install the openjdk-8 or openjdk-9 like this: 并且没有openjdk-7版本,只有openjdk-8和openjdk-9,因此,也许您可以像这样安装openjdk-8或openjdk-9:
apt-get install openjdk-9-jre
or 要么
apt-get install openjdk-8-jre
Ma de, da bu liao zhongwen 马德,大不辽中文
I think it was you input has some error, copy the name from apt-cache search and post it on you command, don't use the Chinese input method, switch to English input method, you can add me in 2672406516 at qq, and...speak Chinese.... 我认为您输入的内容有误,请从apt-cache搜索中复制名称并将其发布到您的命令中,不要使用中文输入法,切换到英语输入法,您可以在qq的2672406516中添加我,并且...说中文....
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.