This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes error while using jar -tvf file.war Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "error while using jar -tvf file.war" Watch "error while using jar -tvf file.war" New topic

error while using jar -tvf file.war

thirumala raju

Joined: Jan 03, 2008
Posts: 9
hi folks,

can anyone please help on this whby i am getting this error while extracting the war file by unsing this command\

sshams:spdwa530:64> jar -tvf BootstrapWAR.war BootstrapWAR.war (No such file or directory)
at Method)
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

You get this error because the WAR file you're trying to look at (BootstrapWAR.war) is not in the current directory. On which operating system is this? Note that some operating systems (such as Linux or Unix) are case-sensitive.

By the way "tvf" does not extract the war - it only lists the files in the war. To extract it, use "xvf".

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
I agree. Here's the link:
subject: error while using jar -tvf file.war
Similar Threads
How to create an executable in java
Difficulty in adding own manifest file
jar files in vista business Push back buffer is full while installing
Installing Library Source