first you need to know that in a Linux system, the file type is not related to the suffix name, the suffix is only for the convenience of identification, So the compressed package you download may be in tar.gz format, or it may be tar.bz2 or TAR.XZ format, because you may be compressed and accidentally changed the wrong name, which is also unavoidable. http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/ Jdk-8u131-linux-x64.tar.gz points to a page, the specific download package is contained in a link on this page, so running the download command above is actually an HTML page. This can be verified with the file command. So there is no way to decompress.
Workaround:
Download the file to the local host, upload it to the Linux server via SFTP, and then unzip it properly.
The first way:
SECURECRT under
Upload a file simply enter the command "RZ" in the shell terminal emulator to select the file on the local disk from the popup dialog and upload it to the current path of the server using Zmodem.
Download file simply enter the command "SZ file name" in the shell terminal emulator to download the file to a local directory using Zmodem.
You can modify the default path that is downloaded to local by using "File Transfer". Set default directory: Options-->session options-->file transfer.
The second way: with SFTP
SECURECRT Press Alt+p to open a new session for FTP operation.
Input: The help command, which shows that FTP provides all the commands
PWD: Querying the directory where the Linux host resides (that is, the remote host directory)
LPWD: Querying a local directory (typically the directory where Windows uploads files: we can see "session Options" in the "Options" drop-down box, two: We know the local upload directory is: d:/My Documents)
ls: query which files are connected to the directory in which the current Linux host resides
LLS: Query what files are currently in the local upload directory
LCD: Change the path of the local upload directory
CD: Change the remote upload directory
Get: Download files from a remote directory to a local directory
Put: Uploading files from a local directory to a remote host (Linux)
Quit: Disconnect FTP connection
Downloading JDK files from Oracle website in Linux is not a standard gzip file problem