[英]Unable to install java 8 on Ubuntu 14.04 32 bit
I used the following code to add repository,我使用以下代码添加存储库,
sudo apt-add-repository ppa:webupd8team/java
Then I have updated the packages using sudo apt-get update
, After this when I try to install Java using the following command,然后我使用sudo apt-get update
更新了软件包,之后当我尝试使用以下命令安装 Java 时,
sudo apt-get install oracle-java8-installer
I am getting error, the error code response is,我收到错误,错误代码响应是,
2016-04-20 13:00:45 (442 MB/s) - 'jdk-8u77-linux-i586.tar.gz' saved [5165] 2016-04-20 13:00:45 (442 MB/s) - 'jdk-8u77-linux-i586.tar.gz' 已保存 [5165]
Download done.
Removing outdated cached downloads...
sha256sum mismatch jdk-8u77-linux-i586.tar.gz
Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
oracle-java8-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
How to debug and resolve this, I am new to Ubuntu.如何调试和解决这个问题,我是 Ubuntu 的新手。 Thanks.谢谢。
First try to install JDK:首先尝试安装JDK:
sudo apt-get install openjdk-7-jdk
Thanks,谢谢,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.