2011-07-16 111 views
-2

我已經下載JDK,但是當我試圖提取它,我面對這些錯誤:在Linux上安裝JDK - 下載文件似乎已損壞

[[email protected] 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 
[[email protected] ~]# 

我該怎麼做才能解決這個問題?

+0

'無法打開「慶典」閱讀:沒有這樣的文件或目錄'可能是恰當的。 –

回答

1

你想

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