A similar solution would be adding O_BINARY to the KOPEN call in the function openJarFile in file /kaffe-snap/kaffe/kaffevm/jar.c #ifdef __WIN32__ file->fd = KOPEN(name, O_RDONLY|O_BINARY, 0); #else file->fd = KOPEN(name, O_RDONLY, 0); #endif I could not reproduce the error using a class file instead of a jar file. _____ Flexa