wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
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]
 
It is sorta covered in the JavaRanch Style Guide.
 
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