I ran the following on Redhat linux:tar zxvf jdk-7u79-linux-x64.tar.gzresulting in:jdk1.7.0_79/jdk1.7.0_79/LICENSEjdk1.7.0_79/releasejdk1.7.0_79/jre/jdk1.7.0_79/jre/LICENSEjdk1.7.0_79/jre/Welcome.htmljdk1.7.0_79/jre/plugin/jdk1.7.0_79/jre/plugin/desktop/jdk1.7.0_79/jre/plugin/desktop/sun_java.pngjdk1.7.0_79/jre/plugin/desktop/sun_java.desktopjdk1.7.0_79/jre/lib/jdk1.7.0_79/jre/lib/fontconfig.SuSE.10.properties.srcjdk1.7.0_79/jre/lib/alt-rt.jarjdk1.7.0_79/jre/lib/meta-indexjdk1.7.0_79/jre/lib/net.properties...But I don't know where all these files were expanding to.How do I determine where the files and folders went? 
How to determine where a tarball expanded
rhel;tar
They went to whatever was your current directory when you ran tar; if you haven't closed the terminal or changed directories since,pwdwill tell you where they are.