list jar contents

C

coltrane

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
 
S

Steve W. Jackson

coltrane said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top