首页 > 系统相关 >Linux安装JDK,解压报错:gzip: stdin: not in gzip format

Linux安装JDK,解压报错:gzip: stdin: not in gzip format

时间:2022-11-06 11:46:09浏览次数:44  
标签:解压 JDK tar format 报错 gzip

问题描述

在Linux安装JDK tar -zxvf 命令解压时,报错,无法解压
报错内容:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

问题截图

image

问题原因

安装包错误

问题解决

image

我之前下载的是 Oracle 的JDk包(明显就要小一些,可能是需要一些在线下载之类的)
换成 OpenJDK 的包就可以解压了

解决截图

image

标签:解压,JDK,tar,format,报错,gzip
From: https://www.cnblogs.com/mua9102/p/16862265.html

相关文章

  • 使用vs2019的scanf报错怎么办
    我之前看视频(p3,23:38)的时候发现可以通过这样解决报错在开头加上这个#define _CRT_SECURE_NO_WARNINGS1首先先解释下为啥会报错,就是scanf是C语言标准的语言,但是有些编译器......
  • 执行Maven的test命令报错
    参考网址:https://blog.csdn.net/weixin_46688566/article/details/126470742解决方案在pom.xml文件中加入以下依赖:<plugin><groupId>org.eclipse.m2e</groupId>......
  • 安装 JDK
    点击此处访问Java下载页面,根据您的操作系统选择合适的版本并下载。类Unix系统安装JDK$sudomkdir-p/opt/java#解压$sudotar-zxvfjdk-$version-linu......
  • MySQL表加字段可为null导致ArrayIndexOutOfBoundsException报错问题记录
    问题爆出企微群告警爆了,立即去看ELK报错日志,报错日志非常莫名其妙:​​java.lang.ArrayIndexOutOfBoundsException:16​​原因分析事后发现共有18257次报错日志,时间跨度19:......
  • NGINX重启发生报错 nginx: [error] open() “/run/nginx.pid“ failed
    nginx[error]open()“/usr/local/var/run/nginx.pid”failed(2:Nosuchfileordirectory)nginx:[error]open()“/run/nginx.pid”failed(2:Nosuchfileord......
  • 添加磁盘组存储ocrbk报错PROT-30、PROC-50
    问题描述:添加磁盘组存储ocrbk报错PROT-30、PROC-50,如下所示:数据库:oracle11.2.0.464位系统:centos7.964位环境:rac(双节点)+dg异常现象:[root@hisdb1bin]#pwd/u01/app/1......
  • 运行python脚本报错:selenium.common.exceptions.SessionNotCreatedException: Message
    运行python脚本报错:selenium.common.exceptions.SessionNotCreatedException:Message:sessionnotcreated        原因:ChromeDriver版本与浏览器版本不......
  • React使用Antd自定义主题报错
    安装包"customize-cra":"^1.0.0","customize-cra-less-loader":"^2.0.0","less":"^4.1.3","less-loader":"^11.1.0",修改config-overrides.jsconst{override......
  • solidity数据存储位置以及存储报错
    solidity数据存储位置solidity文档在0.5.0之后发生大变动,复杂的数据类型必须给出明确的数据存储位置:memory、storage和calldate三个存储位置的区别storage存储永......
  • SpringBoot报错解决
    1-问题:2022-11-0516:25:09.334ERROR18989---[main]o.s.b.d.LoggingFailureAnalys解决:在java的入口把@SpringBootApplication改成@SpringBootApplication(exclude={......