File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes corrupted jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "corrupted jar files" Watch "corrupted jar files" New topic

corrupted jar files

friso jonge
Ranch Hand

Joined: Aug 06, 2002
Posts: 41
has anyone experienced corrupted jar files. What could be the reason for corruption and how to prevent this happening.
Tom Purl
Ranch Hand

Joined: May 24, 2002
Posts: 104
The term "corrupted" is thrown around a *lot* in the world of IT. Often, supposedly "corrupt" files aren't; people either aren't reading them properly or they missed a step when setting them up.
1. What do you mean by corrupt?
2. More specifically, how do you know that your .jar's are corrupt?
3. Can you think of what you did to might have made them corrupt?
[ December 09, 2002: Message edited by: Tom Purl ]

Tom Purl<br />SCJP 1.4
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Friso,
Jars mainly become corrupted when transfered across machines using FTP in ascii mode. A way to avoid this is to make sure files are always trasfered in binary mode.
I agree. Here's the link:
subject: corrupted jar files
It's not a secret anymore!