I am trying to install Java on Red Hat Linux through SSH.
I am using wget
to download the installer. When wget
downloads the file, it saves it with a filename of
jre-6u16-linux-i586-rpm.bin?e=1255431454245&h=f50f4cda5641e55f8e49f217e854faca%2F&filename=jre-6u16-linux-i586-rpm.bin
But, when I try to execute the file to install it, it throws this error
cannot access `jre-6u16-linux-i586-rpm.bin?e=1255431454245': No such file or directory
I am new to Linux. Please explain how to install Java on Linux through the terminal.