problem with:error: java.lang.ClassFormatError: Truncated class file
Hello, I created an simple applet writing "hello world". Now I would like to add *.class file to my serwer witch I've implemented on microcontroller P89C51RD2BN.
Serwer is programmed with hex file which is created after compiling C source files. In this case I converted .class file to array in C (using hexedit program). When I am (using IE ) browsing my serwer Html site is loading corectly and *.class file is send from serwer also corectly (define arrays are transfered corectly) but applet is not initiated. When I am runnig Java console I can see this:
error: java.lang.ClassFormatError: Truncated class file
When I am runnig the same site with the same class file on my PC everything is ok.
I would be greatfull for any help. Thx. (sorry for my English :P )