RedHat 安装Jdk1.4 出现tail: cannot open `+511' for reading 问题

来源:互联网 发布:vsco滤镜软件下载 编辑:程序博客网 时间:2024/05/13 18:51

(本文转自http://www.yanghengfei.com/show-221-1.html)

今天在我的FC5上安装JDK1.4.2的时候遇到如下错误,

(转者注:我是在Redhat5.2上安装发现这样的问题, 使用下面的方法可以解决) 
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
tail: cannot open `+511' for reading: No such file or directory
Checksumming...
1
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.

在SUN的论坛上找到的解决方法是:
# change posix version for compatability for .bin to unpack
export _POSIX2_VERSION=199209
./j2sdk-1_4_2_11-linux-i586.bin

# and then change back
export _POSIX2_VERSION=200112 (fedora core 5)

原文地址:
http://forum.java.sun.com/thread.jspa?threadID=724762&tstart=0
http://forum.java.sun.com/thread.jspa?threadID=712526&tstart=0


- Andy (email: eroclu@gmail.com) 2006-05-23