I've been trying to install java for a while now on my EC2 instance and I'm having no luck. I keep getting the error: sudo tar xf jdk-7u51-linux-x64.tar.gz gzip: stdin: not in gzip format ...
How to install JDK 7 on Ubuntu? The installation should be with the tar archive. I know the basic installation with the bin, but how to do with only a tar archive?