Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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: 24183
    
  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)
 
Similar Threads
what is a nullpointerexception
Running applets in Netscape Navigator 4.7
10 enteries per page?
Printing and Servlets
set pixel in frame