skel
asked on
"java.lang.ClassFormatError: Illegal index in constant pool".... what does it mean?
Hi all!!
This is a strange problem I think. When I run the applet locally, it works perfect, but when I run the applet from the web server, it doesn't with the error message of the subject.
If you can, go to http://flako.cjb.net/calendario.html to see the non-working applet. As I said, if I load in netscape the copy of the www page I have on my hard disk, the applet is executed good
I'd appreciate any help
Thanks a lot in advance
This is a strange problem I think. When I run the applet locally, it works perfect, but when I run the applet from the web server, it doesn't with the error message of the subject.
If you can, go to http://flako.cjb.net/calendario.html to see the non-working applet. As I said, if I load in netscape the copy of the www page I have on my hard disk, the applet is executed good
I'd appreciate any help
Thanks a lot in advance
When you ftp your files up to your web server. Did you set Binary mode on ?
hi skel,
what compiler do you use
I still think that this is bad .class file format problem (because of bad / old / non-standard compiler) - .classes downloaded from the net are verified more carefully than local ones.
did you received my e-mail with another version of the .class file ?
regards
heyhey
what compiler do you use
I still think that this is bad .class file format problem (because of bad / old / non-standard compiler) - .classes downloaded from the net are verified more carefully than local ones.
did you received my e-mail with another version of the .class file ?
regards
heyhey
ASKER
Heyhey... I used your .class file and it works!! I use Symantec Cafe and in all pages I have compiled applets using it, maybe it has problems with array of constants.
Can it be dependent on the server? I had the applet formerly in a server of my university. I cannot test the new .class file on it yet until next monday. I test your .class file on other server and it worked... so I think in the old server will work too.
You can answer the question now :)
Bye
Can it be dependent on the server? I had the applet formerly in a server of my university. I cannot test the new .class file on it yet until next monday. I test your .class file on other server and it worked... so I think in the old server will work too.
You can answer the question now :)
Bye
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what's your development platform (java IDE / compiler ? JDK version ? etc.)
please send me the .java files + compiled .class files at heyhey@nettaxi.com.
probably I can help you ...
best regards
heyhey