解决Linux下解压JDK压缩包失败问题:gzip: stdin: unexpected end of file
"[root@bogon java]# tar -zxvf jdk-8u333-linux-x64.tar.gz\n\ngzip: stdin: unexpected end of file\ntar: Child returned status 1\ntar: Error is not recoverable: exiting now\n[root@bogon java]# sha256sum jdk-8u333-linux-x64.tar.gz \ne3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 jdk-8u333-linux-x64.tar.gz\n[root@bogon java]# \n\n在使用tar命令解压JDK压缩包时,遇到了"gzip: stdin: unexpected end of file"的错误。根据输出结果,gzip显示了"stdin: unexpected end of file",这意味着文件已损坏或不完整。根据SHA256校验和的结果,文件的哈希值为e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,这是一个空文件的哈希值。因此,问题可能是您下载的文件损坏或不完整。您可以尝试重新下载文件并再次提取它。\n\n
原文地址: https://www.cveoy.top/t/topic/qxV1 著作权归作者所有。请勿转载和采集!