Corrupted jar files
How to identify the corrupted jar files in my classpath using jar 开发者_开发百科commands.
Will -xvf help in sorting out corrupted jars?
Please help.
I think you would need to look at each jar file individually and allow the jar
command to tell when an archive is corrupt. You can use the list command for this:
$ jar tf <jarfile>
Alternatively I guess you could just run java
itself, with your desired classpath, and hope that is declares which jar files are corrupt.
精彩评论