tar (child): jdk-7u71-linux-x64.tar.gz:无法 open: 没有那个文件或目录

时间:2022-04-03 09:06:43

1 错误描述

youhaidong@youhaidong:~$ sudo mkdir /usr/lib/jvm
[sudo] password for youhaidong:
youhaidong@youhaidong:~$ sudo tar zxvf jdk-7u71-linux-x64.tar.gz -C /usr/lib/jvm
tar (child): jdk-7u71-linux-x64.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
youhaidong@youhaidong:~$


2 错误原因


3 解决办法