Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAR - help!!!!

 
Charmaine Gatling
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to view the contents of a jar file. I used jar -tvf filename.jar and it only shows that the manifest file is in there. Oddly, it works for some jar files but not for others. What am I doing wrong?
 
Tom Purl
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know why the "tvf" switch isn't working for you. Have you tried the switches without the preceeding hyphen?
If you're still having problems, you can view .jar files using WinZip on win32. If you're using Linux, then you may (???) be able to use the unzip utility.
 
Charmaine Gatling
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!! I didn't know I could use WinZip to view jar files. I figured it out. The file somehow became corrupt or unreadable during the ftp process. I just changed it from ASCII to BINARY and it worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic