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 ClassFormat Error (Bad length) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 24199

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

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: ClassFormat Error (Bad length)
jQuery in Action, 3rd edition