开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜