Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how do you unzip .jar files??

2 views
Skip to first unread message

Phil Earnhardt

unread,
Dec 20, 1999, 3:00:00 AM12/20/99
to
On 21 Dec 1999 01:37:21 GMT, msc...@fnord.io.com (Casey Claiborne)
wrote:

>How does one unzip a .jar file? I'm stuck!
>
>TIA
>Casey :)

If you have WinZip, you can just open the jar. It has exactly the same
archive format as a Zip file.

If you have a Java environment on your machine, you can just use the
jar command from the command line.

--phil


Casey Claiborne

unread,
Dec 21, 1999, 3:00:00 AM12/21/99
to
Hi,

Taswar Bhatti

unread,
Dec 21, 1999, 3:00:00 AM12/21/99
to

$>jar xvf whatever.jar

that is how u un-jar a jar file

$>jar cvf whatever.jar *.class

that is how u jar a file

I am assuming the prompt is $>

Bye,
Taswar
remove donspam for email

In comp.lang.java.misc Casey Claiborne <msc...@fnord.io.com> wrote:
: Hi,


:
: How does one unzip a .jar file? I'm stuck!

: TIA

: Casey :)

--
------------------------------------------------------
| I never pray before meals -- my mom's a good cook. |
------------------------------------------------------

Laurence V

unread,
Dec 21, 1999, 3:00:00 AM12/21/99
to
If you need to do this inside a Java program, use the java.util.zip
classes. Check out my book "Mastering JavaBeans" for the details
(download it free from www.lv.clara.co.uk/masbeans.html)

Laurence


Wojciech Grupa

unread,
Dec 29, 1999, 3:00:00 AM12/29/99
to
Casey Claiborne wrote:
>
> Hi,
>
> How does one unzip a .jar file? I'm stuck!
>
> TIA
>
> Casey :)

Change extension for zip and unzip ;-), works.

Shin-jeng Lin

unread,
Dec 29, 1999, 3:00:00 AM12/29/99
to
Wojciech Grupa wrote:

jar -xvf theJarFile.jar

Amit Batra

unread,
Jan 7, 2000, 3:00:00 AM1/7/00
to
The following command will do

jar xvf file.jar

x: means eXtract
v: means Verbose
f: means Filename to extract

Amit

"Wojciech Grupa" <wgr...@lucent.com> wrote in message
news:386A7093...@lucent.com...

Thomas Kellerer

unread,
Jan 7, 2000, 3:00:00 AM1/7/00
to
Or associate .jar with your favorite unzipper...

khf

unread,
Jan 22, 2000, 3:00:00 AM1/22/00
to
On Fri, 07 Jan 2000 14:06:36 +0100, Thomas Kellerer
<Thomas....@tps-labs.com> wrote:

>Or associate .jar with your favorite unzipper...
>

ah, that would be my wife!

0 new messages