This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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