在Linux上安装JDK [英] Installing JDK on Linux
本文介绍了在Linux上安装JDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在Centos上安装JDK,但我收到错误:
I’m trying to install JDK on Centos, but I’m getting an error:
[root@www opt]# rpm -ivh /opt/jdk-7u51-linux-x64.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
error: unpacking of archive failed on file /usr/java/jdk1.7.0_51/db/lib/derbyLocale_zh_CN.jar;533ab42a: cpio: read
哪里有问题?
谢谢
Where can be problem? Thanks
推荐答案
请在这里根据这些值检查下载文件的md5sum: http://www.oracle.com/technetwork/java/ javase / downloads / java-se-binaries-checksum-1956892.html ?
Can you please check the md5sum of the downloaded file against these values here: http://www.oracle.com/technetwork/java/javase/downloads/java-se-binaries-checksum-1956892.html ?
如果md5sum没有检查,则必须是一个损坏的下载。
If the md5sum does not check, it must be a broken download.
这篇关于在Linux上安装JDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文