File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

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: http://aspose.com/file-tools
 
subject: ClassFormat Error (Bad length)