This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread 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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "corrupted jar files" Watch "corrupted jar files" New topic
Author

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
Anonymous
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.
Cheers
 
 
subject: corrupted jar files