Am Don, 01 Okt 1998 schrieb Steve Cohen:
>I have built an application and an applet using jdk 1.1.6 under linux
>RedHat 5.0.  Both the application and the applet (which use much of the
>same code) compile and work under linux.
>When I copy the class files to a Win95 system, they fail with
>NoClassDefFoundError.
>If, instead, I copy the .java files to the Win95 system and compile them
>there, then again, both the applet and the application run exactly as
>they did under linux.
>
>Why could this be happening?

I don´t know this. But I have a similar experience:

a) open a .ZIP-File with Midnight Commander and copy the class-Files into a
linux file system. (as root)
b) try to execute the class files -> error. Obviously the class files are
corrupt.
c) extracting the same ZIP using kzip (as normal user) -> classes are working.

I found the same happening with swing ZIP file.

So, question: have you used ZIP?

regards
Wolfgang

Reply via email to