This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Java in General and the fly likes ClassFormat Error (Bad length) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "ClassFormat Error (Bad length)" Watch "ClassFormat Error (Bad length)" New topic

ClassFormat Error (Bad length)

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I make a jar file in my pc it works but when i run it in other pc it gives error classformat :bad length.
how can i resolve this error.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

Maybe the file is getting damaged in transit -- for example, if you're using ASCII mode FTP?

[Jess in Action][AskingGoodQuestions]
wood burning stoves
subject: ClassFormat Error (Bad length)
It's not a secret anymore!