Simple question about .gz files & JDK
I am trying to install Oracle8i on my RHLinux box, a pre-requisite is to
install the JDK 1.2.2 -
I downloaded what I thought was the JDK, but I downloaded a run-time environment
file jre-1_2_2_013-linux-i586.tar.gz
is this the same?
I can figure out the tar command, but how do I deal with the gz compression?
Thanks in advance
Chris
[387 byte] By [
Chris] at [2007-11-9 22:30:51]

# 1 Re: Simple question about .gz files & JDK
HI
===================================================================
> I can figure out the tar command, but how do I deal with the gz
compression?
If you want ot decompress the archive, you can execute:
gunzip jre-1_2_2_013-linux-i586.tar.gz
this should decompress the file to jre-1_2_2_013-linux-i586.tar
and then you can dearchive it with the command
tar -xvf jre-1_2_2_013-linux-i586.tar
This 2 steps can be performed together with the command
tar -xzvf jre-1_2_2_013-linux-i586.tar.gz
and this will keep the original file (jre-1_2_2_013-linux-i586.tar.gz) too.
====================================================================
> I am trying to install Oracle8i on my RHLinux box, a pre-requisite is to
> install the JDK 1.2.2 -
>
> I downloaded what I thought was the JDK, but I downloaded a run-time
environment
> file jre-1_2_2_013-linux-i586.tar.gz
>
> is this the same?
I am not sure, but I think it is not.
According to me JRE is the Java Virtual Machine that Netscape Navigator uses
to start applets and so on. I do not know if it can be started separately as
a
standalone application
But I am not shure