在Linux中安装JDK - 下载文件似乎已损坏

时间:2011-07-16 17:35:33

标签: linux

我已经下载了JDK,但是当我尝试提取它时,我遇到了这些错误:

[root@ras java]# . jdk-6u26-linux-i586.bin
Unpacking...
tail: cannot open `bash' for reading: No such file or directory
Checksumming...
The download file appears to be corrupted.  Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.
You have new mail in /var/spool/mail/root
[root@ras ~]#

我该怎么做才能修复它?

1 个答案:

答案 0 :(得分:1)

你想要

chmod +x jdk-6u26-linux-i586.bin
./jdk-6u26-linux-i586.bin