From kedar@ccs.neu.edu Wed Nov 19 23:28:20 1997 Received: from bombay (traal-3.ccs.neu.edu [129.10.113.213]) by amber.ccs.neu.edu (8.8.6/8.7.3) with SMTP id XAA27107 for ; Wed, 19 Nov 1997 23:28:18 -0500 (EST) From: "Kedar Patankar" To: "Karl Lieberherr" Subject: Re: unpacking JAR file Date: Wed, 19 Nov 1997 23:27:46 -0500 Message-ID: <01bcf56c$a6a9cbf0$d5710a81@bombay.ccs.neu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Status: R >How do I unpack this report? I guess the original message had .jar file attached as an uuencoded attachment. It can be retrieved using pine(if you prefer text based mail program) or Netscape Mail(if you want nicer front end). There are other ways too. Eg. save the included portion of the file and then use uudecode to get the original file back(I have never tried this option). >Please can you send me a UNIX shell script. Once you have the .jar file ready .... [dubhe: ~] > jar Usage: jar {ctx}[vfm0M] [jar-file] [manifest-file] files ... Options: -c create new archive -t list table of contents for archive -x extract named (or all) files from archive -v generate verbose output on standard error -f specify archive file name -m include manifest information from specified manifest file -0 store only; use no ZIP compression -M Do not create a manifest file for the entries If any file is a directory then it is processed recursively. Example: to archive two class files into an archive called classes.jar: jar cvf classes.jar Foo.class Bar.class Note: use the '0' option to create a jar file that can be put in your CLASSPATH So a typical command would be : - "jar xf foo.jar" > >-- Karl kedar ..