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

标签 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 ~]#

我该如何解决这个问题?

最佳答案

你想要

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

关于linux - 在 Linux 中安装 JDK - 下载文件似乎已损坏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6719072/

相关文章:

linux - 从线程 ID 获取 pthread_t

c++ - 如何以编程方式区分虚拟机中的 GPT 动态磁盘和 GPT 基本磁盘

linux - 无法在 Linux 上启用 ICU 库支持

c - 如何锁定具有多个读取进程的 PIPE(或 FIFO)?

mysql - Linux 上的 RMySQL(但不是 OSX 或 Windows)提供垃圾数据

regex - 如何在 Bash shell 中使用 GNU sed 只获取带有单引号的行?

linux - 使用位置参数和 1 个命名参数的组合

PHP ssh2_shell 执行命令并获得响应

php - 如何创建一个每隔一小时自动运行一次并发送curl请求的脚本?

编译器 : Understanding assembly code generated from small programs