list jar contents  
Author Message
coltrane





PostPosted: 2006-3-18 2:18:00 Top

java-programmer, list jar contents I am trying to list the contents of a jar file.
I should be able to run
jar -t -f myjar.jar
but when I run this the command does not return and does not display
any thing.
I have to ctrl-c to terminate the app.
I can get the contents if I use the command line version of winzip.
I have tried
jar -t myjar.jar
and
jar -t -f myjar.jar


thanks for the help

john

 
Steve W. Jackson





PostPosted: 2006-3-18 2:21:00 Top

java-programmer >> list jar contents In article <email***@***.com>,
"coltrane" <email***@***.com> wrote:

> I am trying to list the contents of a jar file.
> I should be able to run
> jar -t -f myjar.jar
> but when I run this the command does not return and does not display
> any thing.
> I have to ctrl-c to terminate the app.
> I can get the contents if I use the command line version of winzip.
> I have tried
> jar -t myjar.jar
> and
> jar -t -f myjar.jar
>
>
> thanks for the help
>
> john

Try jar -tf myjar.jar instead.
--
Steve W. Jackson
Montgomery, Alabama
 
coltrane





PostPosted: 2006-3-18 2:24:00 Top

java-programmer >> list jar contents thanks

 
 
Roedy Green





PostPosted: 2006-3-18 2:50:00 Top

java-programmer >> list jar contents On 17 Mar 2006 10:17:57 -0800, "coltrane" <email***@***.com>
wrote, quoted or indirectly quoted someone who said :

>I am trying to list the contents of a jar file.

use Jarlook.

See http://mindprod.com/products1.html#JARLOOK
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
 
jlowery05





PostPosted: 2006-3-18 8:00:00 Top

java-programmer >> list jar contents jarbrowser, too:

http://jarbrowser.sourceforge.net/

 
 
Tail_Spin





PostPosted: 2006-3-18 8:51:00 Top

java-programmer >> list jar contents WinRar also works

Home page: http://www.rarlab.com/