[Linux] solve the error of decompressing JDK on Linux gzip: stdin: not in gzip format

recently bought a server on ali to play, need to install JDK, encountered some problems in the process of decompression, is a Google hundred degree, finally solved. The problem makes me a little helpless…

enter # tar-xvf jdk-8u131-linux 64. Tar. gz, and when executing the command, the Error was pronounced as follows:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: now

.

if neither of the above methods works, keep reading

Read More: